mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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
|
||||
// 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');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user