Skip to content

fix(functional-tests): guard teardown against slow stage navigation#6754

Open
groovecoder wants to merge 1 commit into
mainfrom
fix-teardown-navigation-guards
Open

fix(functional-tests): guard teardown against slow stage navigation#6754
groovecoder wants to merge 1 commit into
mainfrom
fix-teardown-navigation-guards

Conversation

@groovecoder

Copy link
Copy Markdown
Member

The "Delete test user accounts" teardown fails the same way across runs. Line 38 clicks "Open user menu" before the page settles, so a slow stage redirect detaches the frame. Line 55 waits for an exact /en URL, which aborts when the app lands on a path with a trailing segment.

Wait for the menu button to be visible before clicking. Loosen the post-delete URL wait to match the /en prefix.

  • Localization strings (if needed) have been added.
  • Commits in this PR are minimal and have descriptive commit messages.
  • I've added or updated the relevant sections in readme and/or code comments
  • I've added a unit test to test for potential regressions of this bug.
  • If this PR implements a feature flag or experimentation, I've checked that it still works with the flag both on, and with the flag off.
  • If this PR implements a feature flag or experimentation, the Ship Behind Feature Flag status in Jira has been set
  • Product Owner accepted the User Story (demo of functionality completed) or waived the privilege.
  • All acceptance criteria are met.
  • Jira ticket has been updated (if needed) to match changes made during the development process.
  • Jira ticket has been updated (if needed) with suggestions for QA when this PR is deployed to stage.

The "Delete test user accounts" teardown fails the same way across runs.
Line 38 clicks "Open user menu" before the page settles, so a slow stage
redirect detaches the frame. Line 55 waits for an exact /en URL, which
aborts when the app lands on a path with a trailing segment.

Wait for the menu button to be visible before clicking. Loosen the
post-delete URL wait to match the /en prefix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants