chore(deps-dev): Bump @playwright/test from 1.39.0 to 1.40.1 in /core
Bumps @playwright/test from 1.39.0 to 1.40.1.
Release notes
Sourced from @playwright/test's releases.
v1.40.1
Highlights
microsoft/playwright#28319 - [REGRESSION]: Version 1.40.0 Produces corrupted traces microsoft/playwright#28371 - [BUG] The color of the 'ok' text did not change to green in the vs code test results section microsoft/playwright#28321 - [BUG] Ambiguous test outcome and status for serial mode microsoft/playwright#28362 - [BUG] Merging blobs ends up in Error: Cannot create a string longer than 0x1fffffe8 characters microsoft/playwright#28239 - fix: collect all errors in removeFolders
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.40.0
Test Generator Update
New tools to generate assertions:
- "Assert visibility" tool generates expect(locator).toBeVisible().
- "Assert value" tool generates expect(locator).toHaveValue(value).
- "Assert text" tool generates expect(locator).toContainText(text).
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
- Option
reasonin page.close(), browserContext.close() and browser.close(). Close reason is reported for all operations interrupted by the closure.- Option
firefoxUserPrefsin browserType.launchPersistentContext(userDataDir).Other Changes
... (truncated)
Commits
2689420chore: mark 1.40.1 (#28380)efc7ec1cherry-pick(#28366): fix: parse report.jsonl without creating large s… (#28378)43798afcherry-pick(#28360): Revert "chore(test runner): remove fake skipped test res...18478e3cherry-pick(#28365): chore: do not add to the internal action logsd19c948cherry-pick(#28302): docs: Update codegen documentation and screenshots (#28311)480ae58cherry-pick(#28276): docs(trace-viewer): fix <details><summary> syntax (#28297)8dea604cherry-pick(#28267): docs(python): add ignoreCase to NotToHaveAttribute (#28273)65859facherry-pick(#28271): docs(release-notes): 1.40 nits (#28274)e27bc9fcherry-pick(#28239): fix: collect all errors in removeFolders (#28243)b894916cherry-pick(#28198): feat(recorder): UX updates for assertion tools (#28202)- 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.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
swapping reviewers. I had asked dependabot to re-create this PR 😄 original PR: https://github.com/ionic-team/ionic-framework/pull/28550
After adding logging in https://github.com/ionic-team/ionic-framework/pull/28675/commits/506172e438ee1dc4607ee93059fc071ccf4bd9f2, it looks like the hiddenCallback is returning early because isIntersecting is true.
A newer version of @playwright/test exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.
Closing in favor of using renovatebot
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.