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

Bump @playwright/test from 1.42.1 to 1.43.1 #904

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 22, 2024

Bumps @playwright/test from 1.42.1 to 1.43.1.

Release notes

Sourced from @​playwright/test's releases.

v1.43.1

Highlights

microsoft/playwright#30300 - [REGRESSION]: UI mode restarts if keep storage state microsoft/playwright#30339 - [REGRESSION]: Brand new install of playwright, unable to run chromium with show browser using vscode

Browser Versions

  • Chromium 124.0.6367.29
  • Mozilla Firefox 124.0
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 123
  • Microsoft Edge 123

v1.43.0

New APIs

  • Method browserContext.clearCookies() now supports filters to remove only some cookies.

    // Clear all cookies.
    await context.clearCookies();
    // New: clear cookies with a particular name.
    await context.clearCookies({ name: 'session-id' });
    // New: clear cookies for a particular domain.
    await context.clearCookies({ domain: 'my-origin.com' });
  • New mode retain-on-first-failure for testOptions.trace. In this mode, trace is recorded for the first run of each test, but not for retires. When test run fails, the trace file is retained, otherwise it is removed.

    import { defineConfig } from '@playwright/test';
    export default defineConfig({
    use: {
    trace: 'retain-on-first-failure',
    },
    });

  • New property testInfo.tags exposes test tags during test execution.

    test('example', async ({ page }) => {
      console.log(test.info().tags);
    });
  • New method locator.contentFrame() converts a Locator object to a FrameLocator. This can be useful when you have a Locator object obtained somewhere, and later on would like to interact with the content inside the frame.

... (truncated)

Commits
  • a051ceb chore: mark 1.43.1 (#30354)
  • 3ab466e cherry-pick(#30312): fix(ui-mode): do not loose run information after writing...
  • 35468cf cherry-pick(#30342): Revert "fix(reuse): reset Origin Private File System API...
  • 5332639 cherry-pick(#30263): docs: add v1.43 release notes for language ports
  • c729a7b cherry-pick(#30232): docs: fix C# and python snippets
  • 7748e21 cherry-pick(#30210): docs: update context.backgroundPage event examples
  • acb6ff1 cherry-pick(#30200): docs(java,csharp): add BrowserContext.backgroundPage(s)
  • 7c7f8ac cherry-pick(#30227): chore(deps): bump vite from 5.0.12 to 5.0.13 (#30254)
  • 62d4dc9 cherry-pick(#30235): feat(chromium): roll to r1112
  • 79d4776 cherry-pick(#30226): chore: migrate to the testserver.initialize
  • Additional commits viewable in compare view

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.42.1 to 1.43.1.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.42.1...v1.43.1)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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 Apr 22, 2024
@nanasess nanasess enabled auto-merge April 22, 2024 09:11
Copy link

codecov bot commented Apr 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.69%. Comparing base (b1dde49) to head (0fc5d66).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #904   +/-   ##
=======================================
  Coverage   55.69%   55.69%           
=======================================
  Files          75       75           
  Lines        8905     8905           
=======================================
  Hits         4960     4960           
  Misses       3945     3945           
Flag Coverage Δ
tests 55.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nanasess nanasess merged commit e99e847 into master Apr 22, 2024
90 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/playwright/test-1.43.1 branch April 22, 2024 11:47
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