Skip to content

Commit

Permalink
Disable firefox in tests
Browse files Browse the repository at this point in the history
- playwright does not support firefox extension testing currently
- site tests don't need to run in multiple browsers
  • Loading branch information
stefanw committed Jan 27, 2024
1 parent b42fa07 commit 844f54a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"build": "rollup --bundleConfigAsCjs -c",
"lint": "eslint src tests",
"check-types": "tsc --noemit",
"test-sites": "npx playwright test tests/sites.spec.ts --project=chromium --reporter list",
"test-sites": "npx playwright test tests/sites.spec.ts --reporter list",
"test-extension": "npx playwright test tests/extension.spec.ts --reporter dot",
"test": "npx playwright test",
"version": "gsed -i '4s/\"version\": \".*\",/\"version\": \"'\"$(jq -r .version package.json)\"'\",/' manifest.json && git add manifest.json"
},
Expand Down
12 changes: 6 additions & 6 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ export default defineConfig({
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] }
},

{
name: 'firefox',
use: { ...devices['Desktop Firefox'] }
}

// {
// name: 'firefox',
// use: { ...devices['Desktop Firefox'] }
// },

// {
// name: 'webkit',
// use: { ...devices['Desktop Safari'] }
// }
// },

/* Test against mobile viewports. */
// {
Expand Down

0 comments on commit 844f54a

Please sign in to comment.