This commit is contained in:
Yury Semikhatsky 2025-01-31 15:12:04 -08:00
parent 7f7dfe87df
commit 8a84d17ad6
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ import { test, expect } from '@playwright/test';
test('basic test', async ({ page, browserName }, TestStepInfo) => { test('basic test', async ({ page, browserName }, TestStepInfo) => {
await test.step('check some behavior', async step => { await test.step('check some behavior', async step => {
await step.skip(browserName === 'webkit', 'The feature is not available in WebKit'); await step.skip(browserName === 'webkit', 'The feature is not available in WebKit');
//... rest of the step code // ... rest of the step code
await page.check('input'); await page.check('input');
}); });
}); });

View file

@ -9563,7 +9563,7 @@ export interface TestInfoError {
* test('basic test', async ({ page, browserName }, TestStepInfo) => { * test('basic test', async ({ page, browserName }, TestStepInfo) => {
* await test.step('check some behavior', async step => { * await test.step('check some behavior', async step => {
* await step.skip(browserName === 'webkit', 'The feature is not available in WebKit'); * await step.skip(browserName === 'webkit', 'The feature is not available in WebKit');
* //... rest of the step code * // ... rest of the step code
* await page.check('input'); * await page.check('input');
* }); * });
* }); * });