Skip to content

Commit 58e9a82

Browse files
test: add safari to playwright (#816)
1 parent 9f16c12 commit 58e9a82

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"prepublishOnly": "npm run package",
7171
"typecheck": "tsc --noEmit",
7272
"prepare": "husky",
73-
"test:e2e:install": "npx playwright install --with-deps chromium",
73+
"test:e2e:install": "npx playwright install --with-deps",
7474
"test:e2e": "npx playwright test --config=playwright.config.ts"
7575
},
7676
"lint-staged": {

playwright.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ const config: PlaywrightTestConfig = {
2222
name: 'chromium',
2323
use: {...devices['Desktop Chrome']},
2424
},
25+
{
26+
name: 'safari',
27+
use: {...devices['Desktop Safari']},
28+
},
2529
],
2630
};
2731

0 commit comments

Comments
 (0)