Skip to content

Commit cd17e39

Browse files
lice-reisclaude
andauthored
fix(ci): increase wait and timeout in migration UI test_01_open_flow (#212)
3s wait was too short for the nightly flow editor to render in CI. Aligned with other tests (5s) and extended expect timeout to 20s. Also fixes .first -> .first() (Playwright Python method call syntax). Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 084136a commit cd17e39

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/github-workflows/migration/test_ui_migration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ def _save_results(self):
5555
def test_01_open_flow(self):
5656
"""Navigate to the migrated flow in the editor."""
5757
self.page.goto(f"{self.base_url}/flow/{self.flow_id}", wait_until="networkidle")
58-
self.page.wait_for_timeout(3000)
58+
self.page.wait_for_timeout(5000)
5959

6060
# Verify the flow editor loaded (look for the canvas/reactflow area)
6161
canvas = self.page.locator(".react-flow, [data-testid='rf__wrapper']")
62-
expect(canvas.first).to_be_visible(timeout=15_000)
62+
expect(canvas.first()).to_be_visible(timeout=20_000)
6363

6464
self.results["steps"]["open_flow"] = {"status": "pass"}
6565
self._save_results()

0 commit comments

Comments
 (0)