Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WV-2978 E2E Test Fixes #5203

Merged
merged 2 commits into from
May 30, 2024
Merged

WV-2978 E2E Test Fixes #5203

merged 2 commits into from
May 30, 2024

Conversation

christof-wittreich
Copy link
Contributor

@christof-wittreich christof-wittreich commented May 16, 2024

Description

This fix adds a new url parameter e2e that can be added to urls, specifically to be used in e2e tests. The url parameter prevents the notification modal from opening on page load, which was causing inconsistency in tests passing due to variable time to load the modal onscreen.

How To Test

  1. git checkout wv-2978-e2e-test-fixes
  2. npm ci
  3. npm run watch
  4. In app.js, change line 203 from numberOutagesUnseen, to numberOutagesUnseen: notifications.number, temporarily to force the notifications modal to open on page load.
  5. Open another Terminal window to the repo directory and run npx playwright test animation/animation-test.spec.js and verify that the tests pass.

@minniewong minniewong added this to the v4.38.0 milestone May 16, 2024
@christof-wittreich christof-wittreich modified the milestones: v4.38.0, v4.39.0 May 20, 2024
@christof-wittreich christof-wittreich merged commit 97e8640 into develop May 30, 2024
4 checks passed
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.

None yet

3 participants