Skip to content

Commit

Permalink
🔧 Add more browsers to E2E testing
Browse files Browse the repository at this point in the history
  • Loading branch information
siguici committed Oct 20, 2023
1 parent f6523a4 commit 2ba7b9a
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ const config: PlaywrightTestConfig = {
// },

/* Test against mobile viewports. */
// {
// name: 'Mobile Chrome',
// use: {
// ...devices['Pixel 5'],
// },
// },
{
name: "Mobile Chrome",
use: {
...devices["Pixel 5"],
},
},
// {
// name: 'Mobile Safari',
// use: {
Expand All @@ -79,27 +79,28 @@ const config: PlaywrightTestConfig = {
// },

/* Test against branded browsers. */
// {
// name: 'Microsoft Edge',
// use: {
// channel: 'msedge',
// },
// },
// {
// name: 'Google Chrome',
// use: {
// channel: 'chrome',
// },
// },
{
name: "Microsoft Edge",
use: {
channel: "msedge",
},
},
{
name: "Google Chrome",
use: {
channel: "chrome",
},
},
],

/* Folder for test artifacts such as screenshots, videos, traces, etc. */
// outputDir: 'test-results/',

/* Run your local dev server before starting the tests */
webServer: {
command: "php artisan serve --port=4444",
port: 4444,
command: "php artisan serve --port=4321",
port: 4321,
reuseExistingServer: !process.env.CI,
},
};

Expand Down

0 comments on commit 2ba7b9a

Please sign in to comment.