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

Fix E2E onboarding helper #3503

Merged
merged 1 commit into from
Jun 27, 2023
Merged

Fix E2E onboarding helper #3503

merged 1 commit into from
Jun 27, 2023

Conversation

hyphenized
Copy link
Contributor

@hyphenized hyphenized commented Jun 26, 2023

Under certain conditions, running e2e tests would sometimes open up a third, blank tab which caused an onboarding helper to fail setting the page to run the tests correctly or even executing the test run.

There are a few ways to test this fix addresses the issue:

  • Run PWDebug=1 npx playwright test, after opening the browser the tests should run normally (might need to click play button on the playwright debugger).
  • Run PWDebug=console npx playwright test, after opening the browser the tests should run normally.
  • Run npx playwright test, tests should also run normally
  • Check CI e2e runs still work

Latest build: extension-builds-3503 (as of Mon, 26 Jun 2023 22:16:46 GMT).

@hyphenized hyphenized requested a review from a team June 26, 2023 22:09
Copy link
Contributor

@Shadowfiend Shadowfiend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do eet.

@Shadowfiend
Copy link
Contributor

(Incidentally, you can pass --debug to yarn playwright test if you don't enjoy doing environment variables :) )

@Shadowfiend Shadowfiend merged commit 072b35e into main Jun 27, 2023
@Shadowfiend Shadowfiend deleted the fix-onboarding-e2e-util branch June 27, 2023 01:14
@hyphenized hyphenized mentioned this pull request Jun 29, 2023
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