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

build(deps-dev): bump the playwright group in /ui with 2 updates #1401

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps the playwright group in /ui with 2 updates: @playwright/test and playwright.

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 from 1.49.1 to 1.50.0

Release notes

Sourced from playwright'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

Bumps the playwright group in /ui with 2 updates: [@playwright/test](https://github.com/microsoft/playwright) and [playwright](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` 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
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: playwright
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 24, 2025
@github-actions github-actions bot added this to the 0.6.2 milestone Jan 24, 2025
@MikeEdgar MikeEdgar merged commit 74dd153 into main Jan 24, 2025
8 checks passed
@MikeEdgar MikeEdgar deleted the dependabot/npm_and_yarn/ui/playwright-8b85ab61ee branch January 24, 2025 11:51
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant