percy / percy-playwright

Playwright client library for visual testing with Percy
MIT License
17 stars 6 forks source link

⬆️ Bump @playwright/test from 1.27.1 to 1.40.0 #289

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 12 months ago

Bumps @playwright/test from 1.27.1 to 1.40.0.

Release notes

Sourced from @​playwright/test's releases.

v1.40.0

Test Generator Update

Playwright Test Generator

New tools to generate assertions:

Here is an example of a generated test with assertions:

import { test, expect } from '@playwright/test';

test('test', async ({ page }) => { await page.goto('https://playwright.dev/'); await page.getByRole('link', { name: 'Get started' }).click(); await expect(page.getByLabel('Breadcrumbs').getByRole('list')).toContainText('Installation'); await expect(page.getByLabel('Search')).toBeVisible(); await page.getByLabel('Search').click(); await page.getByPlaceholder('Search docs').fill('locator'); await expect(page.getByPlaceholder('Search docs')).toHaveValue('locator'); });

New APIs

Other Changes

Browser Versions

  • Chromium 120.0.6099.28
  • Mozilla Firefox 119.0
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 119
  • Microsoft Edge 119

v1.39.0

Add custom matchers to your expect

You can extend Playwright assertions by providing custom matchers. These matchers will be available on the expect object.

import { expect as baseExpect } from '@playwright/test';
</tr></table> 

... (truncated)

Commits
  • b894916 cherry-pick(#28198): feat(recorder): UX updates for assertion tools (#28202)
  • 59e8f48 chore: mark v1.40.0 (#28199)
  • 85438ed test: Intl.ListFormat is working in playwright all browsers (#28178)
  • aec4399 docs: release notes for v1.40 (#28175)
  • 25b9c4e chore: do not lose error name for js errors (#28177)
  • 4575c9a chore(logs): Add new log level to capture client-server message's metadata in...
  • 80bab8a fix(electron/android): re-add Element.prototype.checkVisibility check (#28173)
  • 7ffcb42 test: fix 'exposeFunction should not leak' in video mode (#28169)
  • 0867c3c feat(chromium): roll to r1091 (#28171)
  • 1c8ceb0 fix(html-reporter): Include specified host and port in the logged instruction...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by dgozman-ms, a new releaser for @​playwright/test since your current version.


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 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)
dependabot[bot] commented 11 months ago

Superseded by #293.