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

chore(tests): set browser pause time in one place and enable toolbox tests #7402

Merged
merged 2 commits into from
Aug 19, 2023

Conversation

rachel-fenichel
Copy link
Collaborator

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

  • Makes it easier to slow down tests to watch them run.
  • Enables a set of tests that are slow but might have caught some issues during the past release.

Proposed Changes

  • Add a PAUSE_TIME constant in the test helper file, and use it everywhere.
  • Enable toolbox drag tests (previously skipped)
  • Switch to using continue in toolbox drag tests (per Beka's feedback from when I initially added them)

Reason for Changes

Try to make tests more useful.

Additional Information

This isn't wired through to the command line yet--anyone who wants to change the value has to change it manually. But I also expect that we'll only change this value when running tests locally + manually.

The drag tests take for-freaking-ever.

@rachel-fenichel rachel-fenichel requested a review from a team as a code owner August 16, 2023 22:54
@github-actions github-actions bot added the PR: chore General chores (dependencies, typos, etc) label Aug 16, 2023
@BeksOmega BeksOmega assigned BeksOmega and unassigned cpcallen Aug 19, 2023
@BeksOmega BeksOmega requested review from BeksOmega and removed request for cpcallen August 19, 2023 00:01
@rachel-fenichel rachel-fenichel merged commit a38340b into google:develop Aug 19, 2023
11 checks passed
@rachel-fenichel rachel-fenichel deleted the browser_test_pause branch August 19, 2023 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: chore General chores (dependencies, typos, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants