fix lint
This commit is contained in:
parent
7f7dfe87df
commit
8a84d17ad6
|
|
@ -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');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
2
packages/playwright/types/test.d.ts
vendored
2
packages/playwright/types/test.d.ts
vendored
|
|
@ -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');
|
||||||
* });
|
* });
|
||||||
* });
|
* });
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue