From dc85d42c62535b323702fb4c0f56b3eb4d198f33 Mon Sep 17 00:00:00 2001
From: "microsoft-playwright-automation[bot]"
<203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
Date: Fri, 25 Jul 2025 10:09:58 +0000
Subject: [PATCH] feat(roll): roll to ToT Playwright (25-07-25)
---
nodejs/docs/api/class-test.mdx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/nodejs/docs/api/class-test.mdx b/nodejs/docs/api/class-test.mdx
index 5a289da65ae..43e3f6f0c80 100644
--- a/nodejs/docs/api/class-test.mdx
+++ b/nodejs/docs/api/class-test.mdx
@@ -1240,7 +1240,7 @@ test('Safari-only test 2', async ({ page }) => {
});
```
-You can also call `test.skip()` without arguments inside the test body to always mark the test as failed. We recommend using `test.skip(title, body)` instead.
+You can also call `test.skip()` without arguments inside the test body to always skip the test. However, we recommend using `test.skip(title, body)` instead.
```js
import { test, expect } from '@playwright/test';
@@ -1273,10 +1273,10 @@ test('less readable', async ({ page }) => {
Test body that takes one or two arguments: an object with fixtures and optional [TestInfo].
- `condition` [boolean] *(optional)*#
- Test is marked as "should fail" when the condition is `true`.
+ Test is marked as "skipped" when the condition is `true`.
- `callback` [function]\([Fixtures]\):[boolean] *(optional)*#
- A function that returns whether to mark as "should fail", based on test fixtures. Test or tests are marked as "should fail" when the return value is `true`.
+ A function that returns whether to mark as "skipped", based on test fixtures. Test or tests are marked as "skipped" when the return value is `true`.
- `description` [string] *(optional)*#
Optional description that will be reflected in a test report.