Skip to content

Flaky E2E UI: test_scheduled_task_create_edit_modal_and_time_picker[chromium] — click on schedule-minute-37 times out (~50% on main) #3235

Description

@abedegno

Summary

tests/e2e_ui/scheduled/test_scheduled_tasks_page.py::test_scheduled_task_create_edit_modal_and_time_picker[chromium] fails intermittently (~50%) in the E2E UI Tests (shard 1/3) job. It's a newly-added test (2026‑07‑23) and is not yet in tests/known_failures.yaml, so it's currently red‑barring unrelated PRs.

Failure

Playwright times out clicking the minute cell in the scheduled‑task time picker — the element is asserted visible immediately before, yet the click(force=True) hangs for the full 30s:

expect(page.get_by_test_id("schedule-minute-37")).to_be_visible()   # passes
page.get_by_test_id("schedule-minute-37").click(force=True)         # <-- times out
playwright._impl._errors.TimeoutError: Locator.click: Timeout 30000ms exceeded.
Call log:
  - waiting for get_by_test_id("schedule-minute-37")

Because the cell is confirmed visible one line earlier, this looks like the click is being intercepted (overlay/animation) or the cell sits in a scrolling/virtualized minute list where the click never lands — not the element being absent.

It's flaky, not a real regression (independent of the change under test)

Same shard‑1/3 failure on three PRs with unrelated diffs, at different heads:

…while other recent PRs (e.g. #3229, #3223) passed the same shard. So it's ~50% across PRs, independent of the change under test.

Introduced

tests/e2e_ui/scheduled/test_scheduled_tasks_page.py was added 2026‑07‑23:

Suggested action

  • Short term: quarantine in tests/known_failures.yaml so it stops red‑barring unrelated PRs.
  • Root cause: likely a race between the time‑picker opening/animating and the click. Consider waiting for the picker's stable state (scroll‑into‑view / wait for the open animation to settle) and clicking without force once the overlay is done, rather than force‑clicking mid‑transition.

Filed by an external contributor who hit this on #1470 (a backend‑only change). Happy to help if useful.

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingP2-mediumPriority: bug with workaround, important feature requestcomp:infraComponent: CI/CD, Docker, deployment, packagingcomp:web-uiComponent: web frontend (ap-web)help wantedExtra attention is neededtriagedIssue has been triaged by the botvalidated:already_fixedRepro agent validated the issue is already fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions