Skip to content

Commit

Permalink
Add webkit/firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
altano authored Nov 11, 2024
1 parent 14e0ae9 commit 64c4840
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions packages/satori-fit-text/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,29 +69,19 @@ export default defineConfig({
},

/* Configure projects for major browsers */
projects: isCI
? [
// we can enable firefox/webkit when they ship in the `playwright-driver`
// nix linux derivation
//
// https://discourse.nixos.org/t/playwright-tests-on-multiple-browsers/41309
projects.chromium,
]
: [
projects.chromium,
projects.webkit,
projects: [
projects.chromium,
projects.firefox,
projects.webkit,

// satori doesn't currently work in Firefox without a polyfill
// projects.firefox,
/* Test against mobile viewports. */
// projects.mobileChrome,
// projects.mobileSafari,

/* Test against mobile viewports. */
// projects.mobileChrome,
// projects.mobileSafari,

/* Test against branded browsers. */
// projects.edge,
// projects.chrome,
],
/* Test against branded browsers. */
// projects.edge,
// projects.chrome,
],

/* Run your local dev server before starting the tests */
webServer: {
Expand Down

0 comments on commit 64c4840

Please # to comment.