From 03a3839bccdd8491b122c68f41bc9694e4f0b178 Mon Sep 17 00:00:00 2001
From: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Date: Sat, 18 Jan 2025 10:11:16 +0000
Subject: [PATCH] feat(roll): roll to ToT Playwright (18-01-25)
---
nodejs/docs/api/class-locatorassertions.mdx | 5 +----
nodejs/docs/api/class-test.mdx | 2 +-
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/nodejs/docs/api/class-locatorassertions.mdx b/nodejs/docs/api/class-locatorassertions.mdx
index 723a115e5bf..c5f49cd24e9 100644
--- a/nodejs/docs/api/class-locatorassertions.mdx
+++ b/nodejs/docs/api/class-locatorassertions.mdx
@@ -1009,10 +1009,7 @@ await expect(page.locator('body')).toMatchAriaSnapshot({ path: '/path/to/snapsho
- `options` [Object] *(optional)*
- `name` [string] *(optional)*#
- Name of the snapshot to store in the snapshot folder corresponding to this test. Generates ordinal name if not specified.
- - `path` [string] *(optional)*#
-
- Path to the YAML snapshot file.
+ Name of the snapshot to store in the snapshot (screenshot) folder corresponding to this test. Generates sequential names if not specified.
- `timeout` [number] *(optional)*#
Time to retry the assertion for in milliseconds. Defaults to `timeout` in `TestConfig.expect`.
diff --git a/nodejs/docs/api/class-test.mdx b/nodejs/docs/api/class-test.mdx
index 0c300a0c8b0..99e295421be 100644
--- a/nodejs/docs/api/class-test.mdx
+++ b/nodejs/docs/api/class-test.mdx
@@ -1377,7 +1377,7 @@ test('test', async ({ page }) => {
Specifies a custom location for the step to be shown in test reports and trace viewer. By default, location of the [test.step()](/api/class-test.mdx#test-step) call is shown.
- `timeout` [number] *(optional)* Added in: v1.50#
- Maximum time in milliseconds for the step to finish. Defaults to `0` (no timeout).
+ The maximum time, in milliseconds, allowed for the step to complete. If the step does not complete within the specified timeout, the [test.step()](/api/class-test.mdx#test-step) method will throw a [TimeoutError]. Defaults to `0` (no timeout).
**Returns**
- [Promise]<[Object]>#