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

test(deps): bump the npm group with 3 updates #704

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps the npm group with 3 updates: @playwright/test, @types/node and playwright-bdd.

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 @types/node from 22.10.7 to 22.10.10

Commits

Updates playwright-bdd from 8.0.1 to 8.1.0

Changelog

Sourced from playwright-bdd's changelog.

8.1.0

  • add "Fix with AI" feature
  • support attachments via testInfo.attachments.push()
  • update all dependencies
Commits

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 npm group with 3 updates: [@playwright/test](https://github.com/microsoft/playwright), [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [playwright-bdd](https://github.com/vitalets/playwright-bdd).


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 `@types/node` from 22.10.7 to 22.10.10
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `playwright-bdd` from 8.0.1 to 8.1.0
- [Changelog](https://github.com/vitalets/playwright-bdd/blob/main/CHANGELOG.md)
- [Commits](vitalets/playwright-bdd@v8.0.1...v8.1.0)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: playwright-bdd
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 27, 2025
@dependabot dependabot bot requested a review from a team as a code owner January 27, 2025 08:20
Copy link
Contributor

github-actions bot commented Jan 27, 2025

Compressed layer size comparison

Comparing ghcr.io/philips-software/amp-devcontainer-rust:latest to ghcr.io/philips-software/amp-devcontainer-rust@sha256:159074ac3d3066380026eacd5537b891ffa6df79fcac9c2e41ccc3c2b71906f3

OS/Platform Previous Size Current Size Delta
linux/amd64 475.28M 475.28M 0.00 (+0.00%)
linux/arm64 614.64M 614.64M 0.00 (+0.00%)

Copy link
Contributor

github-actions bot commented Jan 27, 2025

Compressed layer size comparison

Comparing ghcr.io/philips-software/amp-devcontainer-cpp:latest to ghcr.io/philips-software/amp-devcontainer-cpp@sha256:30276bbde1410f7bae78d64dde36b36d5b5c70f0aca57ca906d8b33c043d2983

OS/Platform Previous Size Current Size Delta
linux/amd64 686.88M 686.88M 0.00 (+0.00%)
linux/arm64 668.62M 668.62M 0.00 (+0.00%)

Copy link
Contributor

github-actions bot commented Jan 27, 2025

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 17 0 0.07s
✅ DOCKERFILE hadolint 2 0 0.49s
✅ GHERKIN gherkin-lint 2 0 0.84s
✅ JSON npm-package-json-lint yes no 0.31s
✅ JSON prettier 15 1 0 0.46s
✅ JSON v8r 14 0 13.17s
✅ MARKDOWN markdownlint 8 0 0 0.73s
✅ MARKDOWN markdown-table-formatter 8 0 0 0.18s
✅ REPOSITORY checkov yes no 15.25s
✅ REPOSITORY gitleaks yes no 0.24s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 8.64s
✅ REPOSITORY secretlint yes no 0.95s
✅ REPOSITORY syft yes no 1.13s
✅ REPOSITORY trivy yes no 5.1s
✅ REPOSITORY trivy-sbom yes no 0.07s
✅ REPOSITORY trufflehog yes no 4.04s
✅ SPELL lychee 58 0 4.86s
✅ YAML prettier 22 0 0 0.68s
✅ YAML v8r 22 0 12.23s
✅ YAML yamllint 22 0 0.37s

See detailed report in MegaLinter reports

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

MegaLinter is graciously provided by OX Security

Copy link
Contributor

github-actions bot commented Jan 27, 2025

Test Results

 2 files  ±0   2 suites  ±0   1m 20s ⏱️ +2s
29 tests ±0  29 ✅ ±0  0 💤 ±0  0 ❌ ±0 
31 runs  ±0  31 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit bfd852a. ± Comparison against base commit f9faadb.

♻️ This comment has been updated with latest results.

@rjaegers rjaegers added this pull request to the merge queue Jan 28, 2025
Merged via the queue into main with commit 155ca2d Jan 28, 2025
22 checks passed
@rjaegers rjaegers deleted the dependabot/npm_and_yarn/npm-6598bc7a8b branch January 28, 2025 08:39
Copy link
Contributor

Pull Request Report (#704)

Static measures

Description Value
Number of added lines 72
Number of deleted lines 157
Number of changed files 3
Number of commits 2
Number of reviews 1
Number of comments (w/o review comments) 5
Number of reviews that contains a comment to resolve 0
Number of reviews that requested a change from the author 0
Number of reviews that approved the Pull Request 1
Get the total number of participants of a Pull Request 5

Time related measures

Description Value
PR lead time (from creation to close of PR) 1 Days
Time that was spend on the branch before the PR was created 1 Sec
Time that was spend on the branch before the PR was merged 1 Days
Time to merge after last review 4.1 Min

Status check related measures

Description Value
Total runtime for last status check run (Workflow for PR) 22.4 Min
Total time spend in last status check run on PR 8.2 Min

Copy link
Contributor

🎉 Hooray! The changes in this pull request went live with the release of v5.6.1 🎉

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.

None yet

1 participant