From 8c4fc62e8f601c81c16fc382f37999dfd4ce1213 Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Thu, 21 Apr 2022 14:58:40 -0400 Subject: [PATCH] docs(test-annotations): add isMobile to typescript snippet (#13686) --- docs/src/test-annotations-js.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/test-annotations-js.md b/docs/src/test-annotations-js.md index 8314d73491..630054447c 100644 --- a/docs/src/test-annotations-js.md +++ b/docs/src/test-annotations-js.md @@ -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');