Skip to content

feat(browser): run tests in parallel in headless mode, add page.screenshot method#5853

Merged
sheremet-va merged 30 commits intovitest-dev:mainfrom
sheremet-va:fix/context-id-pages
Jun 12, 2024
Merged

feat(browser): run tests in parallel in headless mode, add page.screenshot method#5853
sheremet-va merged 30 commits intovitest-dev:mainfrom
sheremet-va:fix/context-id-pages

Conversation

@sheremet-va
Copy link
Copy Markdown
Member

@sheremet-va sheremet-va commented Jun 6, 2024

Description

Tests are two times faster on my machine!

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

@sheremet-va sheremet-va changed the title feat(browser): attach the context to every page to allow parallelisation feat(browser): attach the context id to every page to allow parallelisation Jun 6, 2024
@sheremet-va sheremet-va changed the title feat(browser): attach the context id to every page to allow parallelisation feat(browser): run tests in parallel in headless mode Jun 7, 2024
@sheremet-va sheremet-va force-pushed the fix/context-id-pages branch from 774c5c1 to 08faac5 Compare June 7, 2024 16:54
@sheremet-va sheremet-va force-pushed the fix/context-id-pages branch from 809e464 to c76a028 Compare June 12, 2024 07:06
@sheremet-va sheremet-va changed the title feat(browser): run tests in parallel in headless mode feat(browser): run tests in parallel in headless mode, add page.screenshot method Jun 12, 2024
@sheremet-va sheremet-va changed the title feat(browser): run tests in parallel in headless mode, add page.screenshot method feat(browser): run tests in parallel in headless mode, add page.screenshot method Jun 12, 2024
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.

1 participant