Skip to content

PiT 25.2: FlowViewIT setupTest timeout too tight in parallel runs #155

@manolo

Description

@manolo

Summary

FlowViewIT.setupTest waits up to 60s for the vaadin-vertical-layout
element after login, which is too tight when running with
testsInParallel=2 on CI. In PiT 25.2.0-alpha8 PROD with Vaadin 25.1.5,
1 of 5 tests failed with TimeoutError: Timeout 60000ms exceeded. The
app started in under 5s and the other 4 tests passed, which points to
flaky timing rather than a real defect.

Context

Suggested fix

One of:

  1. Increase setTimeout(60000) to setTimeout(120000) in FlowViewIT.java:40
  2. Use a more specific selector (e.g. the "Your name" vaadin-text-field) and keep a tighter timeout
  3. Wait for the form to be interactive instead of the layout container

PiT workaround already in place (bumped to 120s): vaadin/platform-in-test-script@0262fec

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    🟢Ready to Go

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions