Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

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

Sean Perkins8c4fc62e8f60
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');