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

chore(deps-dev): bump @playwright/test from 1.26.1 to 1.27.0 #1729

Merged
merged 1 commit into from Oct 11, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 10, 2022

Bumps @playwright/test from 1.26.1 to 1.27.0.

Release notes

Sourced from @​playwright/test's releases.

v1.27.0

Locators

With these new APIs, inspired by Testing Library, writing locators is a joy:

await page.getByLabel('User Name').fill('John');
await page.getByLabel('Password').fill('secret-password');
await page.getByRole('button', { name: 'Sign in' }).click();
await expect(page.getByText('Welcome, John!')).toBeVisible();

All the same methods are also available on Locator, FrameLocator and Frame classes.

Other highlights

  • workers option in the playwright.config.ts now accepts a percentage string to use some of the available CPUs. You can also pass it in the command line:

    npx playwright test --workers=20%
  • New options host and port for the html reporter.

    reporters: [['html', { host: 'localhost', port: '9223' }]]
  • New field FullConfig.configFile is available to test reporters, specifying the path to the config file if any.

  • As announced in v1.25, Ubuntu 18 will not be supported as of Dec 2022. In addition to that, there will be no WebKit updates on Ubuntu 18 starting from the next Playwright release.

Behavior Changes

  • expect(locator).toHaveAttribute(name, value, options) with an empty value does not match missing attribute anymore. For example, the following snippet will succeed when button does not have a disabled attribute.

    await expect(page.getByRole('button')).toHaveAttribute('disabled', '');
  • Command line options --grep and --grep-invert previously incorrectly ignored grep and grepInvert options specified in the config. Now all of them are applied together.

Browser Versions

... (truncated)

Commits
  • af0d293 cherry-pick(#17912): docs: mention that exact option is ignored for regex
  • c05225f cherry-pick(#17896): chore: make local docker build work on branch (#17906)
  • 3f0af1e cherry-pick(#17893): fix(locators): make regex escape work when multiple spac...
  • 923a583 cherry-pick(#17888): chore: make role name case-insensitive
  • b85b1ec cherry-pick(#17886): docs: v1.27 release notes for python, java and dotnet
  • 299bcea cherry-pick(#17885): feat(api): make aria roles an enum
  • 03c7f9c cherry-pick(#17879): test: rebaseline requestStorageAccess test for firefox-b...
  • 3bf42ce cherry-pick(#17864): test: fix "getByText should work" with tracing enabled, ...
  • 2993281 cherry-pick(#17863): chore(docker): make sure failed commands exit with non-z...
  • 1bc426b cherry-pick(#17862): fix(esm+tsconfig): allow mapped ts files in esm mode
  • 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 will merge this PR once CI passes on it, as requested by @NSeydoux.


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 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 dependabot bot requested a review from a team as a code owner October 10, 2022 07:02
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 10, 2022
@vercel
Copy link

vercel bot commented Oct 10, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
solid-client-js ✅ Ready (Inspect) Visit Preview Oct 11, 2022 at 8:57AM (UTC)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 10, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit a7bc1f8:

Sandbox Source
solid-client-sandbox Configuration

@vercel vercel bot temporarily deployed to Preview October 10, 2022 07:04 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/playwright/test-1.27.0 branch from ccd2fe8 to 5645367 Compare October 11, 2022 08:28
@vercel vercel bot temporarily deployed to Preview October 11, 2022 08:31 Inactive
Copy link
Contributor

@NSeydoux NSeydoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/playwright/test-1.27.0 branch from 5645367 to 1d1abdb Compare October 11, 2022 08:40
@vercel vercel bot temporarily deployed to Preview October 11, 2022 08:44 Inactive
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.26.1 to 1.27.0.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.26.1...v1.27.0)

---
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 force-pushed the dependabot/npm_and_yarn/playwright/test-1.27.0 branch from 1d1abdb to a7bc1f8 Compare October 11, 2022 08:54
@vercel vercel bot temporarily deployed to Preview October 11, 2022 08:57 Inactive
@dependabot dependabot bot merged commit daece0f into main Oct 11, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/playwright/test-1.27.0 branch October 11, 2022 09:05
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