docs(test-annotations): add isMobile to typescript snippet (#13686)

This commit is contained in:
Sean Perkins 2022-04-21 14:58:40 -04:00 committed by GitHub
parent c551284498
commit 8c4fc62e8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,7 +201,7 @@ test('user profile', async ({ page }) => {
```js js-flavor=ts
// example.spec.ts
test.beforeEach(async ({ page }) => {
test.beforeEach(async ({ page, isMobile }) => {
test.fixme(isMobile, 'Settings page does not work in mobile yet');
await page.goto('http://localhost:3000/settings');