Skip to content

Commit 224385a

Browse files
debs-obrienpavelfeldman
authored andcommitted
cherry-pick(#35050): docs: update Git information image in release notes
1 parent 72622fe commit 224385a

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

docs/src/release-notes-js.md

+13-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
88

99
## Version 1.51
1010

11-
### Highlights
11+
### StorageState for indexedDB
1212

1313
* New option [`option: BrowserContext.storageState.indexedDB`] for [`method: BrowserContext.storageState`] allows to save and restore IndexedDB contents. Useful when your application uses [IndexedDB API](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API) to store authentication tokens, like Firebase Authentication.
1414

@@ -29,11 +29,15 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
2929
});
3030
```
3131

32-
* New "Copy as Prompt" button on errors in the HTML report, trace viewer and UI mode. Click to copy a pre-filled LLM prompt that contains the error message and useful context for fixing the error.
32+
### Copy as prompt
33+
34+
New "Copy as Prompt" button on errors in the HTML report, trace viewer and UI mode. Click to copy a pre-filled LLM prompt that contains the error message and useful context for fixing the error.
3335

3436
![Copy as Prompt](https://github.com/user-attachments/assets/f3654407-dd6d-4240-9845-0d96df2bf30a)
3537

36-
* New option [`option: Locator.filter.visible`] for [`method: Locator.filter`] allows matching only visible elements.
38+
### Filter visible elements
39+
40+
New option [`option: Locator.filter.visible`] for [`method: Locator.filter`] allows matching only visible elements.
3741

3842
```js title="example.spec.ts"
3943
test('some test', async ({ page }) => {
@@ -44,7 +48,9 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
4448
});
4549
```
4650

47-
* Set option [`property: TestConfig.captureGitInfo`] to capture git information into [`property: TestConfig.metadata`].
51+
### Git information in HTML report
52+
53+
Set option [`property: TestConfig.captureGitInfo`] to capture git information into [`property: TestConfig.metadata`].
4854

4955
```js title="playwright.config.ts"
5056
import { defineConfig } from '@playwright/test';
@@ -56,11 +62,11 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
5662

5763
HTML report will show this information when available:
5864

59-
![Git information in the report](https://github.com/user-attachments/assets/9ca4a05a-1485-4521-826b-50568babec3f)
65+
![Git information in the report](https://github.com/user-attachments/assets/f5b3f6f4-aa08-4a24-816c-7edf33ef0c37)
6066

61-
### Test runner
67+
### Test Step improvements
6268

63-
* A new [TestStepInfo] object is now available in test steps. You can add step attachments or skip the step under some conditions.
69+
A new [TestStepInfo] object is now available in test steps. You can add step attachments or skip the step under some conditions.
6470

6571
```js
6672
test('some test', async ({ page, isMobile }) => {

0 commit comments

Comments
 (0)