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(deps-dev): bump the playwright group with 3 updates #3720

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 24, 2025

Bumps the playwright group with 3 updates: @playwright/test, @playwright/experimental-ct-react and @playwright/experimental-ct-vue.

Updates @playwright/test from 1.49.1 to 1.50.0

Release notes

Sourced from @​playwright/test's releases.

v1.50.0

Test runner

  • New option timeout allows specifying a maximum run time for an individual test step. A timed-out step will fail the execution of the test.

    test('some test', async ({ page }) => {
      await test.step('a step', async () => {
        // This step can time out separately from the test
      }, { timeout: 1000 });
    });
  • New method test.step.skip() to disable execution of a test step.

    test('some test', async ({ page }) => {
      await test.step('before running step', async () => {
        // Normal step
      });
    await test.step.skip('not yet ready', async () => {
    // This step is skipped
    });
    await test.step('after running step', async () => {
    // This step still runs even though the previous one was skipped
    });
    });

  • Expanded expect(locator).toMatchAriaSnapshot() to allow storing of aria snapshots in separate YAML files.

  • Added method expect(locator).toHaveAccessibleErrorMessage() to assert the Locator points to an element with a given aria errormessage.

  • Option testConfig.updateSnapshots added the configuration enum changed. changed updates only the snapshots that have changed, whereas all now updates all snapshots, regardless of whether there are any differences.

  • New option testConfig.updateSourceMethod defines the way source code is updated when testConfig.updateSnapshots is configured. Added overwrite and 3-way modes that write the changes into source code, on top of existing patch mode that creates a patch file.

    npx playwright test --update-snapshots=changed --update-source-method=3way
  • Option testConfig.webServer added a gracefulShutdown field for specifying a process kill signal other than the default SIGKILL.

  • Exposed testStep.attachments from the reporter API to allow retrieval of all attachments created by that step.

UI updates

  • Updated default HTML reporter to improve display of attachments.
  • New button for picking elements to produce aria snapshots.
  • Additional details (such as keys pressed) are now displayed alongside action API calls in traces.
  • Display of canvas content in traces is error-prone. Display is now disabled by default, and can be enabled via the Display canvas content UI setting.
  • Call and Network panels now display additional time information.

Breaking

... (truncated)

Commits
  • 9d22178 chore: mark v1.50.0 (#34447)
  • 5d6ac96 cherry-pick(#34442): fix(test runner): respect updateSourceMethod from the co...
  • 97b76b4 cherry-pick(#34440): chore(driver): roll driver to recent Node.js LTS version
  • 7bbcc3c cherry-pick(#34353): chore: move attachment link back to tree item, make it f...
  • 2811a1d cherry-pick(#34430): docs: switch gracefulShutdown to primarily mention SIGTE...
  • 2b8d1ce cherry-pick(#34380): docs: release notes for v1.50 js (#34425)
  • 715eb25 cherry-pick(#34409): fix(aria snapshot): make rebase work when options are sp...
  • 6106ef0 cherry-pick(#34410): fix(list reporter): do not break after output without tr...
  • 09cd74f cherry-pick(#34407): fix(step.skip): show a skipped indicator in UI mode (#34...
  • cc6eb09 cherry-pick(#34386): chore: step timeout improvements (#34387)
  • Additional commits viewable in compare view

Updates @playwright/experimental-ct-react from 1.49.1 to 1.50.0

Release notes

Sourced from @​playwright/experimental-ct-react's releases.

v1.50.0

Test runner

  • New option timeout allows specifying a maximum run time for an individual test step. A timed-out step will fail the execution of the test.

    test('some test', async ({ page }) => {
      await test.step('a step', async () => {
        // This step can time out separately from the test
      }, { timeout: 1000 });
    });
  • New method test.step.skip() to disable execution of a test step.

    test('some test', async ({ page }) => {
      await test.step('before running step', async () => {
        // Normal step
      });
    await test.step.skip('not yet ready', async () => {
    // This step is skipped
    });
    await test.step('after running step', async () => {
    // This step still runs even though the previous one was skipped
    });
    });

  • Expanded expect(locator).toMatchAriaSnapshot() to allow storing of aria snapshots in separate YAML files.

  • Added method expect(locator).toHaveAccessibleErrorMessage() to assert the Locator points to an element with a given aria errormessage.

  • Option testConfig.updateSnapshots added the configuration enum changed. changed updates only the snapshots that have changed, whereas all now updates all snapshots, regardless of whether there are any differences.

  • New option testConfig.updateSourceMethod defines the way source code is updated when testConfig.updateSnapshots is configured. Added overwrite and 3-way modes that write the changes into source code, on top of existing patch mode that creates a patch file.

    npx playwright test --update-snapshots=changed --update-source-method=3way
  • Option testConfig.webServer added a gracefulShutdown field for specifying a process kill signal other than the default SIGKILL.

  • Exposed testStep.attachments from the reporter API to allow retrieval of all attachments created by that step.

UI updates

  • Updated default HTML reporter to improve display of attachments.
  • New button for picking elements to produce aria snapshots.
  • Additional details (such as keys pressed) are now displayed alongside action API calls in traces.
  • Display of canvas content in traces is error-prone. Display is now disabled by default, and can be enabled via the Display canvas content UI setting.
  • Call and Network panels now display additional time information.

Breaking

... (truncated)

Commits
  • 9d22178 chore: mark v1.50.0 (#34447)
  • 5d6ac96 cherry-pick(#34442): fix(test runner): respect updateSourceMethod from the co...
  • 97b76b4 cherry-pick(#34440): chore(driver): roll driver to recent Node.js LTS version
  • 7bbcc3c cherry-pick(#34353): chore: move attachment link back to tree item, make it f...
  • 2811a1d cherry-pick(#34430): docs: switch gracefulShutdown to primarily mention SIGTE...
  • 2b8d1ce cherry-pick(#34380): docs: release notes for v1.50 js (#34425)
  • 715eb25 cherry-pick(#34409): fix(aria snapshot): make rebase work when options are sp...
  • 6106ef0 cherry-pick(#34410): fix(list reporter): do not break after output without tr...
  • 09cd74f cherry-pick(#34407): fix(step.skip): show a skipped indicator in UI mode (#34...
  • cc6eb09 cherry-pick(#34386): chore: step timeout improvements (#34387)
  • Additional commits viewable in compare view

Updates @playwright/experimental-ct-vue from 1.49.1 to 1.50.0

Release notes

Sourced from @​playwright/experimental-ct-vue's releases.

v1.50.0

Test runner

  • New option timeout allows specifying a maximum run time for an individual test step. A timed-out step will fail the execution of the test.

    test('some test', async ({ page }) => {
      await test.step('a step', async () => {
        // This step can time out separately from the test
      }, { timeout: 1000 });
    });
  • New method test.step.skip() to disable execution of a test step.

    test('some test', async ({ page }) => {
      await test.step('before running step', async () => {
        // Normal step
      });
    await test.step.skip('not yet ready', async () => {
    // This step is skipped
    });
    await test.step('after running step', async () => {
    // This step still runs even though the previous one was skipped
    });
    });

  • Expanded expect(locator).toMatchAriaSnapshot() to allow storing of aria snapshots in separate YAML files.

  • Added method expect(locator).toHaveAccessibleErrorMessage() to assert the Locator points to an element with a given aria errormessage.

  • Option testConfig.updateSnapshots added the configuration enum changed. changed updates only the snapshots that have changed, whereas all now updates all snapshots, regardless of whether there are any differences.

  • New option testConfig.updateSourceMethod defines the way source code is updated when testConfig.updateSnapshots is configured. Added overwrite and 3-way modes that write the changes into source code, on top of existing patch mode that creates a patch file.

    npx playwright test --update-snapshots=changed --update-source-method=3way
  • Option testConfig.webServer added a gracefulShutdown field for specifying a process kill signal other than the default SIGKILL.

  • Exposed testStep.attachments from the reporter API to allow retrieval of all attachments created by that step.

UI updates

  • Updated default HTML reporter to improve display of attachments.
  • New button for picking elements to produce aria snapshots.
  • Additional details (such as keys pressed) are now displayed alongside action API calls in traces.
  • Display of canvas content in traces is error-prone. Display is now disabled by default, and can be enabled via the Display canvas content UI setting.
  • Call and Network panels now display additional time information.

Breaking

... (truncated)

Commits
  • 9d22178 chore: mark v1.50.0 (#34447)
  • 5d6ac96 cherry-pick(#34442): fix(test runner): respect updateSourceMethod from the co...
  • 97b76b4 cherry-pick(#34440): chore(driver): roll driver to recent Node.js LTS version
  • 7bbcc3c cherry-pick(#34353): chore: move attachment link back to tree item, make it f...
  • 2811a1d cherry-pick(#34430): docs: switch gracefulShutdown to primarily mention SIGTE...
  • 2b8d1ce cherry-pick(#34380): docs: release notes for v1.50 js (#34425)
  • 715eb25 cherry-pick(#34409): fix(aria snapshot): make rebase work when options are sp...
  • 6106ef0 cherry-pick(#34410): fix(list reporter): do not break after output without tr...
  • 09cd74f cherry-pick(#34407): fix(step.skip): show a skipped indicator in UI mode (#34...
  • cc6eb09 cherry-pick(#34386): chore: step timeout improvements (#34387)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added javascript Pull requests that update Javascript code 🤫dependencies Pull requests that update a dependency file labels Jan 24, 2025
Copy link
Contributor

@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-playwright-d3234066c9 branch from 6cecea3 to efa5998 Compare January 24, 2025 03:34
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-playwright-d3234066c9 branch from efa5998 to ef1302e Compare January 24, 2025 05:04
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-playwright-d3234066c9 branch from ef1302e to 1728aaa Compare January 24, 2025 06:13
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-playwright-d3234066c9 branch from 1728aaa to 4ed2933 Compare January 24, 2025 07:24
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-playwright-d3234066c9 branch from 4ed2933 to 6300fd0 Compare January 24, 2025 08:17
github-actions[bot]
github-actions bot previously approved these changes Jan 24, 2025
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-playwright-d3234066c9 branch from 6300fd0 to 54431da Compare January 24, 2025 10:03
Bumps the playwright group with 3 updates: [@playwright/test](https://github.com/microsoft/playwright), [@playwright/experimental-ct-react](https://github.com/microsoft/playwright) and [@playwright/experimental-ct-vue](https://github.com/microsoft/playwright).


Updates `@playwright/test` from 1.49.1 to 1.50.0
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.49.1...v1.50.0)

Updates `@playwright/experimental-ct-react` from 1.49.1 to 1.50.0
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.49.1...v1.50.0)

Updates `@playwright/experimental-ct-vue` from 1.49.1 to 1.50.0
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.49.1...v1.50.0)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: playwright
- dependency-name: "@playwright/experimental-ct-react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: playwright
- dependency-name: "@playwright/experimental-ct-vue"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: playwright
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-playwright-d3234066c9 branch from 54431da to 897d3ee Compare January 24, 2025 11:04
github-actions[bot]
github-actions bot previously approved these changes Jan 24, 2025
nmerget
nmerget previously approved these changes Jan 24, 2025
@github-actions github-actions bot added the 📺showcases Changes to 1-n showcases label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤫dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code 📺showcases Changes to 1-n showcases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant