Skip to content

Commit dd7289c

Browse files
Skn0ttclaude
andcommitted
docs: add v1.58 release notes
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 78a7b75 commit dd7289c

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

docs/src/release-notes-js.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,61 @@ toc_max_heading_level: 2
66

77
import LiteYouTube from '@site/src/components/LiteYouTube';
88

9+
## Version 1.58
10+
11+
### Sharding Improvements
12+
13+
The HTML report's Speedboard tab now shows how long each shard took, making it easy to spot imbalanced shards at a glance.
14+
15+
<!-- TODO: Add screenshot of Shard Duration chart from Speedboard tab -->
16+
17+
Once you've identified slow shards, you can use the new custom sharding weights to rebalance them and speed up your overall CI time. The `shardIndex` is also now available in the reporter API for custom reporting and debugging.
18+
19+
### Worker Fixture Timeouts
20+
21+
Worker-scoped fixtures now get their own separate timeout instead of sharing time with `beforeAll` hooks. This means more predictable timeout behavior—if your worker fixture takes 10 seconds and your `beforeAll` takes 5 seconds, they each get their full configured timeout rather than competing for a shared pool.
22+
23+
### New `toHaveCSS` Overload
24+
25+
If you have `@types/react` installed, you can now pass a style object to `toHaveCSS` for type-safe CSS assertions:
26+
27+
```ts
28+
await expect(locator).toHaveCSS({
29+
backgroundColor: 'rgb(255, 0, 0)',
30+
fontSize: '16px',
31+
});
32+
```
33+
34+
### UI Mode and Trace Viewer Improvements
35+
36+
- New 'system' theme option follows your OS dark/light mode preference
37+
- Search functionality (Cmd/Ctrl+F) is now available in code editors
38+
- Network details panel has been reorganized for better usability
39+
- JSON responses are now automatically formatted for readability
40+
41+
Thanks to [@cpAdm](https://github.com/cpAdm) for contributing these improvements!
42+
43+
### Breaking Changes ⚠️
44+
45+
- **Removed `_react` and `_vue` selectors**: These experimental selectors have been removed. Use standard locators like `getByRole`, `getByText`, or `getByTestId` instead—they're more reliable and work across frameworks.
46+
47+
- **Removed `*:light` selectors**: The `:light` pseudo-class has been removed. Use standard CSS selectors instead.
48+
49+
- **Removed deprecated `devtools` option**: This option was deprecated in v1.44. Use `args: ['--auto-open-devtools-for-tabs']` in launch options instead.
50+
51+
- **Dropped macOS < 14 support for WebKit**: WebKit now requires macOS 14 (Sonoma) or later, as macOS 13 reached end-of-life.
52+
53+
### Browser Versions
54+
55+
- Chromium 145.0.7632.6
56+
- Mozilla Firefox 146.0.1
57+
- WebKit 26.0
58+
59+
This version was also tested against the following stable channels:
60+
61+
- Google Chrome 144
62+
- Microsoft Edge 144
63+
964
## Version 1.57
1065

1166
### Speedboard

0 commit comments

Comments
 (0)