docs(test-annotations): add isMobile to typescript snippet (#13686)
This commit is contained in:
parent
c551284498
commit
8c4fc62e8f
|
|
@ -201,7 +201,7 @@ test('user profile', async ({ page }) => {
|
||||||
```js js-flavor=ts
|
```js js-flavor=ts
|
||||||
// example.spec.ts
|
// example.spec.ts
|
||||||
|
|
||||||
test.beforeEach(async ({ page }) => {
|
test.beforeEach(async ({ page, isMobile }) => {
|
||||||
test.fixme(isMobile, 'Settings page does not work in mobile yet');
|
test.fixme(isMobile, 'Settings page does not work in mobile yet');
|
||||||
|
|
||||||
await page.goto('http://localhost:3000/settings');
|
await page.goto('http://localhost:3000/settings');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue