@@ -4186,7 +4186,7 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4186
4186
* });
4187
4187
* ```
4188
4188
*
4189
- * You can also call `test.skip()` without arguments inside the test body to always mark the test as failed. We
4189
+ * You can also call `test.skip()` without arguments inside the test body to always skip the test. However, we
4190
4190
* recommend using `test.skip(title, body)` instead.
4191
4191
*
4192
4192
* ```js
@@ -4203,9 +4203,9 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4203
4203
* description.
4204
4204
* @param body Test body that takes one or two arguments: an object with fixtures and optional
4205
4205
* [TestInfo](https://playwright.dev/docs/api/class-testinfo).
4206
- * @param condition Test is marked as "should fail " when the condition is `true`.
4207
- * @param callback A function that returns whether to mark as "should fail ", based on test fixtures. Test or tests are marked as
4208
- * "should fail" when the return value is `true`.
4206
+ * @param condition Test is marked as "skipped " when the condition is `true`.
4207
+ * @param callback A function that returns whether to mark as "skipped ", based on test fixtures. Test or tests are marked as "skipped"
4208
+ * when the return value is `true`.
4209
4209
* @param description Optional description that will be reflected in a test report.
4210
4210
*/
4211
4211
skip ( title : string , body : TestBody < TestArgs & WorkerArgs > ) : void ;
@@ -4267,7 +4267,7 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4267
4267
* });
4268
4268
* ```
4269
4269
*
4270
- * You can also call `test.skip()` without arguments inside the test body to always mark the test as failed. We
4270
+ * You can also call `test.skip()` without arguments inside the test body to always skip the test. However, we
4271
4271
* recommend using `test.skip(title, body)` instead.
4272
4272
*
4273
4273
* ```js
@@ -4284,9 +4284,9 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4284
4284
* description.
4285
4285
* @param body Test body that takes one or two arguments: an object with fixtures and optional
4286
4286
* [TestInfo](https://playwright.dev/docs/api/class-testinfo).
4287
- * @param condition Test is marked as "should fail " when the condition is `true`.
4288
- * @param callback A function that returns whether to mark as "should fail ", based on test fixtures. Test or tests are marked as
4289
- * "should fail" when the return value is `true`.
4287
+ * @param condition Test is marked as "skipped " when the condition is `true`.
4288
+ * @param callback A function that returns whether to mark as "skipped ", based on test fixtures. Test or tests are marked as "skipped"
4289
+ * when the return value is `true`.
4290
4290
* @param description Optional description that will be reflected in a test report.
4291
4291
*/
4292
4292
skip ( title : string , details : TestDetails , body : TestBody < TestArgs & WorkerArgs > ) : void ;
@@ -4348,7 +4348,7 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4348
4348
* });
4349
4349
* ```
4350
4350
*
4351
- * You can also call `test.skip()` without arguments inside the test body to always mark the test as failed. We
4351
+ * You can also call `test.skip()` without arguments inside the test body to always skip the test. However, we
4352
4352
* recommend using `test.skip(title, body)` instead.
4353
4353
*
4354
4354
* ```js
@@ -4365,9 +4365,9 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4365
4365
* description.
4366
4366
* @param body Test body that takes one or two arguments: an object with fixtures and optional
4367
4367
* [TestInfo](https://playwright.dev/docs/api/class-testinfo).
4368
- * @param condition Test is marked as "should fail " when the condition is `true`.
4369
- * @param callback A function that returns whether to mark as "should fail ", based on test fixtures. Test or tests are marked as
4370
- * "should fail" when the return value is `true`.
4368
+ * @param condition Test is marked as "skipped " when the condition is `true`.
4369
+ * @param callback A function that returns whether to mark as "skipped ", based on test fixtures. Test or tests are marked as "skipped"
4370
+ * when the return value is `true`.
4371
4371
* @param description Optional description that will be reflected in a test report.
4372
4372
*/
4373
4373
skip ( ) : void ;
@@ -4429,7 +4429,7 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4429
4429
* });
4430
4430
* ```
4431
4431
*
4432
- * You can also call `test.skip()` without arguments inside the test body to always mark the test as failed. We
4432
+ * You can also call `test.skip()` without arguments inside the test body to always skip the test. However, we
4433
4433
* recommend using `test.skip(title, body)` instead.
4434
4434
*
4435
4435
* ```js
@@ -4446,9 +4446,9 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4446
4446
* description.
4447
4447
* @param body Test body that takes one or two arguments: an object with fixtures and optional
4448
4448
* [TestInfo](https://playwright.dev/docs/api/class-testinfo).
4449
- * @param condition Test is marked as "should fail " when the condition is `true`.
4450
- * @param callback A function that returns whether to mark as "should fail ", based on test fixtures. Test or tests are marked as
4451
- * "should fail" when the return value is `true`.
4449
+ * @param condition Test is marked as "skipped " when the condition is `true`.
4450
+ * @param callback A function that returns whether to mark as "skipped ", based on test fixtures. Test or tests are marked as "skipped"
4451
+ * when the return value is `true`.
4452
4452
* @param description Optional description that will be reflected in a test report.
4453
4453
*/
4454
4454
skip ( condition : boolean , description ?: string ) : void ;
@@ -4510,7 +4510,7 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4510
4510
* });
4511
4511
* ```
4512
4512
*
4513
- * You can also call `test.skip()` without arguments inside the test body to always mark the test as failed. We
4513
+ * You can also call `test.skip()` without arguments inside the test body to always skip the test. However, we
4514
4514
* recommend using `test.skip(title, body)` instead.
4515
4515
*
4516
4516
* ```js
@@ -4527,9 +4527,9 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4527
4527
* description.
4528
4528
* @param body Test body that takes one or two arguments: an object with fixtures and optional
4529
4529
* [TestInfo](https://playwright.dev/docs/api/class-testinfo).
4530
- * @param condition Test is marked as "should fail " when the condition is `true`.
4531
- * @param callback A function that returns whether to mark as "should fail ", based on test fixtures. Test or tests are marked as
4532
- * "should fail" when the return value is `true`.
4530
+ * @param condition Test is marked as "skipped " when the condition is `true`.
4531
+ * @param callback A function that returns whether to mark as "skipped ", based on test fixtures. Test or tests are marked as "skipped"
4532
+ * when the return value is `true`.
4533
4533
* @param description Optional description that will be reflected in a test report.
4534
4534
*/
4535
4535
skip ( callback : ConditionBody < TestArgs & WorkerArgs > , description ?: string ) : void ;
0 commit comments