Skip to content

Commit

Permalink
test: add safari to playwright (#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
artemmufazalov authored May 13, 2024
1 parent 9f16c12 commit 58e9a82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"prepublishOnly": "npm run package",
"typecheck": "tsc --noEmit",
"prepare": "husky",
"test:e2e:install": "npx playwright install --with-deps chromium",
"test:e2e:install": "npx playwright install --with-deps",
"test:e2e": "npx playwright test --config=playwright.config.ts"
},
"lint-staged": {
Expand Down
4 changes: 4 additions & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ const config: PlaywrightTestConfig = {
name: 'chromium',
use: {...devices['Desktop Chrome']},
},
{
name: 'safari',
use: {...devices['Desktop Safari']},
},
],
};

Expand Down

0 comments on commit 58e9a82

Please sign in to comment.