Chore(deps): bump playwright from 1.35.0 to 1.45.1 in /pnpm
Bumps playwright from 1.35.0 to 1.45.1.
Release notes
Sourced from playwright's releases.
v1.45.1
Highlights
microsoft/playwright#31473 - [REGRESSION]: Playwright raises an error ENOENT: no such file or directory, open 'test-results/.playwright-artifacts-0/hash.zip' with Electron microsoft/playwright#31442 - [REGRESSION]: Locators of elements changing from/to hidden have operations hanging when using
--disable-web-security
microsoft/playwright#31431 - [REGRESSION]: NewTab doesn't work properly with Chrome with--disable-web-security
microsoft/playwright#31425 - [REGRESSION]: beforeEach hooks are not skipped when describe condition depends on fixtures microsoft/playwright#31491 - [REGRESSION]:@playwright/experimental-ct-react
doesn't work with VSCode extension and PNPMBrowser Versions
- Chromium 127.0.6533.5
- Mozilla Firefox 127.0
- WebKit 17.4
This version was also tested against the following stable channels:
- Google Chrome 126
- Microsoft Edge 126
v1.45.0
Clock
Utilizing the new Clock API allows to manipulate and control time within tests to verify time-related behavior. This API covers many common scenarios, including:
- testing with predefined time;
- keeping consistent time and timers;
- monitoring inactivity;
- ticking through time manually.
// Initialize clock and let the page load naturally. await page.clock.install({ time: new Date('2024-02-02T08:00:00') }); await page.goto('http://localhost:3333'); // Pretend that the user closed the laptop lid and opened it again at 10am, // Pause the time once reached that point. await page.clock.pauseAt(new Date('2024-02-02T10:00:00')); // Assert the page state. await expect(page.getByTestId('current-time')).toHaveText('2/2/2024, 10:00:00 AM'); // Close the laptop lid again and open it at 10:30am. await page.clock.fastForward('30:00'); await expect(page.getByTestId('current-time')).toHaveText('2/2/2024, 10:30:00 AM');
See the clock guide for more details.
Test runner
- New CLI option
--fail-on-flaky-tests
that sets exit code to1
upon any flaky tests. Note that by default, the test runner exits with code0
when all failed tests recovered upon a retry. With this option, the test run will fail in such case.
... (truncated)
Commits
-
e8989f8
chore: mark v1.45.1 (#31516) -
1d94caa
cherry-pick(#31496): docs(release-notes): fix .NET snippets -
5be5168
cherry-pick(#31504): fix(ct): export package.json -
0fe7a10
cherry-pick(#31437): fix(electron): tracing with@playwright/test
-
4ec4ccf
cherry-pick(#31401): chore: .NET generator fixes -
3b4d32e
cherry-pick(#31458): fix(utility): create utility world when web security is ... -
4ccaef6
cherry-pick(#31426): fix(runner): do not run beforeEach hooks upon skip modifier -
4f3f6ee
cherry-pick(#31421): docs: release notes for 1.45 -
d557b7b
cherry-pick(#31420): docs(java): correctly parse time (#31422) -
1368bca
cherry-pick(#31419): docs: deprecatehandle
option inexposeBinding
- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by yurys, a new releaser for playwright since your current version.
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts