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-securitymicrosoft/playwright#31431 - [REGRESSION]: NewTab doesn't work properly with Chrome with --disable-web-securitymicrosoft/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 PNPM
Browser 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');
New CLI option --fail-on-flaky-tests that sets exit code to 1 upon any flaky tests. Note that by default, the test runner exits with code 0 when all failed tests recovered upon a retry. With this option, the test run will fail in such case.
Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
⚠️ This change may cause significant differences in your coverage results compared to Vitest v1. These changes are expected as coverage reporting is now more accurate. See vitest-dev/vitest#5423 for more details.
Previously, the location field pointed to the error location instead of the test location. Now it is aligned with jest and contains the line and column of a test function, but requires includeTaskLocation to be enabled.
Bumps the all group with 12 updates in the / directory:
5.0.19
5.0.20
1.6.1
1.7.0
5.4.5
5.5.3
8.38.2
8.39.1
1.44.1
1.45.1
7.13.0
7.16.0
7.13.0
7.16.0
1.6.0
2.0.2
3.3.2
3.3.3
7.13.0
7.16.0
5.3.1
5.3.3
1.6.0
2.0.2
Updates
@fontsource/noto-emoji
from 5.0.19 to 5.0.20Commits
Updates
@preact/signals-core
from 1.6.1 to 1.7.0Release notes
Sourced from
@preact/signals-core
's releases.Commits
26d49bf
Version Packages (#579)4fa8603
fix(react-signals-transform): Support nested functions accessing signals (#582)931404e
chore(signals): add default undefined type (#578)5a02bfa
chore(signals-react): throw error when auto-tracking with React 19 (#577)9f999b9
fix: Issue template link (#573)Updates
typescript
from 5.4.5 to 5.5.3Release notes
Sourced from typescript's releases.
... (truncated)
Commits
f0e9921
Bump version to 5.5.3 and LKG738bd60
Cherry-pick #58966 to release-5.5 (#59002)ce2e60e
Update LKGf3b21a2
🤖 Pick PR #58931 (Defer creation of barebonesLibSourc...) into release-5.5 (#...7b1620b
🤖 Pick PR #58811 (fix(58801): "Move to file" on globa...) into release-5.5 (#...5367ae1
Bump version to 5.5.2 and LKG02132e5
🤖 Pick PR #58895 (Fix global when typescript.js loade...) into release-5.5 (#...45b1e3c
🤖 Pick PR #58872 (Fix declaration emit crash) into release-5.5 (#58874)17933ee
🤖 Pick PR #58810 (Fixed declaration emit issue relate...) into release-5.5 (#...552b07e
🤖 Pick PR #58786 (Fixed declaration emit crash relate...) into release-5.5 (#...Updates
webdriverio
from 8.38.2 to 8.39.1Release notes
Sourced from webdriverio's releases.
Changelog
Sourced from webdriverio's changelog.
Commits
17622a0
v8.39.195cddd7
fix(webdriverio): export action primitives82da6a2
v8.39.08f7720f
Allows reloadSession to connect to remote driver (#12957)b9c057e
fix(docs): add await before mock.restore() (#13020)Updates
@playwright/test
from 1.44.1 to 1.45.1Release notes
Sourced from
@playwright/test
's releases.... (truncated)
Commits
e8989f8
chore: mark v1.45.1 (#31516)1d94caa
cherry-pick(#31496): docs(release-notes): fix .NET snippets5be5168
cherry-pick(#31504): fix(ct): export package.json0fe7a10
cherry-pick(#31437): fix(electron): tracing with@playwright/test
4ec4ccf
cherry-pick(#31401): chore: .NET generator fixes3b4d32e
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 modifier4f3f6ee
cherry-pick(#31421): docs: release notes for 1.45d557b7b
cherry-pick(#31420): docs(java): correctly parse time (#31422)1368bca
cherry-pick(#31419): docs: deprecatehandle
option inexposeBinding
Updates
@typescript-eslint/eslint-plugin
from 7.13.0 to 7.16.0Release notes
Sourced from
@typescript-eslint/eslint-plugin
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/eslint-plugin
's changelog.... (truncated)
Commits
e803c50
chore(release): publish 7.16.07b13dae
fix(eslint-plugin): [restrict-template-expressions] don't report tuples if `a...3c6290d
fix(eslint-plugin): [no-floating-promises] addsuggestions
to tests from #9...63d17dd
feat(eslint-plugin): [no-floating-promises] add checkThenables option (#9263)d685948
feat(eslint-plugin): add support for nested namespaces to unsafe-member-acces...451e738
feat(eslint-plugin): [no-unnecessary-parameter-property-assignment] add new r...88dd828
feat(eslint-plugin): [no-unnecessary-type-parameters] port from v8 to v7 (#9473)a1a9b09
chore(eslint-plugin): re-using logic from builtinSymbolLike in no-implied-eva...d364160
docs: [class-methods-use-this] fix typo (#9494)7e2b77d
feat(rule-tester): stricter rule test validations (#9086)Updates
@typescript-eslint/parser
from 7.13.0 to 7.16.0Release notes
Sourced from
@typescript-eslint/parser
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/parser
's changelog.... (truncated)
Commits
e803c50
chore(release): publish 7.16.02865d31
chore(release): publish 7.15.0b4fe94f
chore(release): publish 7.14.1dfc4469
chore(release): publish 7.14.01212a8f
chore(release): publish 7.13.1Updates
@vitest/browser
from 1.6.0 to 2.0.2Release notes
Sourced from
@vitest/browser
's releases.... (truncated)
Commits
99a12ae
chore: release v2.0.258fac77
fix(browser): don't release keyboard automatically (#6083)ee72518
fix(browser): dedupe@vitest/browser/
client (#6081)756ac2b
fix(browser): correctly overwrite loupe require04c83ac
fix(browser): removecrypto.randomUUID
from the client (#6079)80a43d5
fix(browser): inline pretty-format and replace picocolors with tinyrainbow (#...a169d25
fix(browser): remove@vitest/runner
> pretty-format from prebundling because ...aa52792
perf(browser): don't import msw if no modules are mocked (#6073)16eb6c8
chore: release v2.0.11b150a3
chore: release v2.0.0Updates
prettier
from 3.3.2 to 3.3.3Release notes
Sourced from prettier's releases.
Changelog
Sourced from prettier's changelog.
... (truncated)
Commits
5282938
Release 3.3.39102b73
Add parentheses for decorator expressions (#16458)6bbd461
chore(deps): update eslint related dependencies (#16478)04b560f
chore(deps): update dependency browserslist to v4.23.2 (#16475)614f070
chore(deps): update typescript-eslint to v8.0.0-alpha.41 (#16477)d59a15d
chore(deps): update dependency npm-run-all2 to v6.2.2 (#16476)5ca2fc9
Support Angular@let
declaration syntax (#16474)bfcfdcc
chore(deps): update babel to v7.24.8 (#16472)977c161
chore(deps): update dependency acorn to v8.12.1 (#16464)550606e
chore(deps): update babel to v7.24.8 (#16470)Updates
typescript-eslint
from 7.13.0 to 7.16.0Release notes
Sourced from typescript-eslint's releases.
... (truncated)
Changelog
Sourced from typescript-eslint's changelog.