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

Update dependency @playwright/test to v1.46.1 #783

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 23, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@playwright/test (source) 1.43.0 -> 1.46.1 age adoption passing confidence

Release Notes

microsoft/playwright (@​playwright/test)

v1.46.1

Compare Source

v1.46.0

Compare Source

v1.45.3

Compare Source

v1.45.2

Compare Source

v1.45.1

Compare Source

v1.45.0

Compare Source

v1.44.1

Compare Source

Highlights

https://github.com/microsoft/playwright/issues/30779 - [REGRESSION]: When using video: 'on' with VSCode extension the browser got closed
https://github.com/microsoft/playwright/issues/30755 - [REGRESSION]: Electron launch with spaces inside executablePath didn't workhttps://github.com/microsoft/playwright/issues/307700 - [REGRESSION]: Mask elements outside of viewport when creating fullscreen screenshots didn't worhttps://github.com/microsoft/playwright/issues/3085858 - [REGRESSION]: ipv6 got shown instead of localhost in show-trace/show-report

Browser Versions

  • Chromium 125.0.6422.14
  • Mozilla Firefox 125.0.1
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 124
  • Microsoft Edge 124

v1.44.0

Compare Source

New APIs

Accessibility assertions

  • expect(locator).toHaveAccessibleName() checks if the element has the specified accessible name:

    const locator = page.getByRole('button');
    await expect(locator).toHaveAccessibleName('Submit');
  • expect(locator).toHaveAccessibleDescription() checks if the element has the specified accessible description:

    const locator = page.getByRole('button');
    await expect(locator).toHaveAccessibleDescription('Upload a photo');
  • expect(locator).toHaveRole() checks if the element has the specified ARIA role:

    const locator = page.getByTestId('save-button');
    await expect(locator).toHaveRole('button');

Locator handler

  • After executing the handler added with page.addLocatorHandler(), Playwright will now wait until the overlay that triggered the handler is not visible anymore. You can opt-out of this behavior with the new noWaitAfter option.
  • You can use new times option in page.addLocatorHandler() to specify maximum number of times the handler should be run.
  • The handler in page.addLocatorHandler() now accepts the locator as argument.
  • New page.removeLocatorHandler() method for removing previously added locator handlers.
const locator = page.getByText('This interstitial covers the button');
await page.addLocatorHandler(locator, async overlay => {
  await overlay.locator('#close').click();
}, { times: 3, noWaitAfter: true });
// Run your tests that can be interrupted by the overlay.
// ...
await page.removeLocatorHandler(locator);

Miscellaneous options

  • multipart option in apiRequestContext.fetch() now accepts FormData and supports repeating fields with the same name.

    const formData = new FormData();
    formData.append('file', new File(['let x = 2024;'], 'f1.js', { type: 'text/javascript' }));
    formData.append('file', new File(['hello'], 'f2.txt', { type: 'text/plain' }));
    context.request.post('https://example.com/uploadFiles', {
      multipart: formData
    });
  • expect(callback).toPass({ intervals }) can now be configured by expect.toPass.inervals option globally in testConfig.expect or per project in testProject.expect.

  • expect(page).toHaveURL(url) now supports ignoreCase option.

  • testProject.ignoreSnapshots allows to configure per project whether to skip screenshot expectations.

Reporter API

  • New method suite.entries() returns child test suites and test cases in their declaration order. suite.type and testCase.type can be used to tell apart test cases and suites in the list.
  • Blob reporter now allows overriding report file path with a single option outputFile. The same option can also be specified as PLAYWRIGHT_BLOB_OUTPUT_FILE environment variable that might be more convenient on CI/CD.
  • JUnit reporter now supports includeProjectInTestName option.

Command line

  • --last-failed CLI option for running only tests that failed in the previous run.

    First run all tests:

    $ npx playwright test
    
    Running 103 tests using 5 workers
    ...
    2 failed
      [chromium] › my-test.spec.ts:8:5 › two ─────────────────────────────────────────────────────────
      [chromium] › my-test.spec.ts:13:5 › three ──────────────────────────────────────────────────────
    101 passed (30.0s)

    Now fix the failing tests and run Playwright again with --last-failed option:

    $ npx playwright test --last-failed
    
    Running 2 tests using 2 workers
      2 passed (1.2s)

Browser Versions

  • Chromium 125.0.6422.14
  • Mozilla Firefox 125.0.1
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 124
  • Microsoft Edge 124

v1.43.1

Compare Source

Highlights

https://github.com/microsoft/playwright/issues/30300 - [REGRESSION]: UI mode restarts if keep storage statehttps://github.com/microsoft/playwright/issues/303399 - [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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added dependencies Pull requests that update a dependency file renovate labels May 23, 2024
Copy link

netlify bot commented May 23, 2024

Deploy Preview for finatr ready!

Name Link
🔨 Latest commit c6b8bef
🔍 Latest deploy log https://app.netlify.com/sites/finatr/deploys/66ccad734c7f6a00081f8edc
😎 Deploy Preview https://deploy-preview-783--finatr.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 97
Accessibility: 100
Best Practices: 100
SEO: 69
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

github-actions bot commented May 23, 2024

Package Changes Through c6b8bef

There are 2 changes which include web with minor, app with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
web 0.4.1 0.5.0
app 0.2.1 0.3.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@renovate renovate bot force-pushed the renovate/playwright-test-1.x-lockfile branch 4 times, most recently from 408fb96 to 3e1a129 Compare June 6, 2024 18:40
@renovate renovate bot force-pushed the renovate/playwright-test-1.x-lockfile branch from 3e1a129 to 9a33296 Compare June 25, 2024 00:50
@renovate renovate bot changed the title Update dependency @playwright/test to v1.44.1 Update dependency @playwright/test to v1.45.0 Jun 25, 2024
@renovate renovate bot force-pushed the renovate/playwright-test-1.x-lockfile branch from 9a33296 to ce2062e Compare July 2, 2024 18:39
@renovate renovate bot changed the title Update dependency @playwright/test to v1.45.0 Update dependency @playwright/test to v1.45.1 Jul 2, 2024
@renovate renovate bot force-pushed the renovate/playwright-test-1.x-lockfile branch from ce2062e to 699c8a6 Compare July 16, 2024 11:40
@renovate renovate bot changed the title Update dependency @playwright/test to v1.45.1 Update dependency @playwright/test to v1.45.2 Jul 16, 2024
@renovate renovate bot force-pushed the renovate/playwright-test-1.x-lockfile branch from 699c8a6 to d476066 Compare July 22, 2024 20:04
@renovate renovate bot changed the title Update dependency @playwright/test to v1.45.2 Update dependency @playwright/test to v1.45.3 Jul 22, 2024
@renovate renovate bot force-pushed the renovate/playwright-test-1.x-lockfile branch 12 times, most recently from c7645e9 to f80efca Compare August 5, 2024 22:57
@renovate renovate bot changed the title Update dependency @playwright/test to v1.45.3 Update dependency @playwright/test to v1.46.0 Aug 5, 2024
@renovate renovate bot force-pushed the renovate/playwright-test-1.x-lockfile branch from f80efca to 03fac7f Compare August 10, 2024 06:13
@renovate renovate bot force-pushed the renovate/playwright-test-1.x-lockfile branch 3 times, most recently from b8341e6 to e957c4b Compare August 16, 2024 21:23
@renovate renovate bot changed the title Update dependency @playwright/test to v1.46.0 Update dependency @playwright/test to v1.46.1 Aug 16, 2024
@renovate renovate bot force-pushed the renovate/playwright-test-1.x-lockfile branch 2 times, most recently from 1c6a8e3 to c944a87 Compare August 23, 2024 06:46
@renovate renovate bot force-pushed the renovate/playwright-test-1.x-lockfile branch from c944a87 to 6415b4c Compare August 25, 2024 17:41
@renovate renovate bot force-pushed the renovate/playwright-test-1.x-lockfile branch from 6415b4c to c6b8bef Compare August 26, 2024 16:29
@jbolda
Copy link
Owner

jbolda commented Aug 26, 2024

I need this to group, closing to see if that works.

@jbolda jbolda closed this Aug 26, 2024
Copy link
Contributor Author

renovate bot commented Aug 26, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (^1.43.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/playwright-test-1.x-lockfile branch August 26, 2024 16:32
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 renovate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant