Skip to content

Commit

Permalink
enable tests on other browsers and mobile sized screens
Browse files Browse the repository at this point in the history
  • Loading branch information
Barukimang committed Jul 29, 2024
1 parent 9848234 commit 02d23a2
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,28 @@ export default defineConfig({
},

/* Test against mobile viewports. */
// {
// name: 'Mobile Chrome',
// use: { ...devices['Pixel 5'] },
// },
// {
// name: 'Mobile Safari',
// use: { ...devices['iPhone 12'] },
// },
{
name: 'Mobile Chrome',
use: {...devices['Pixel 5']},
timeout: 120000, // Set a timeout of 120 seconds for each test in this project
},
{
name: 'Mobile Safari',
use: {...devices['iPhone 12']},
timeout: 120000, // Set a timeout of 120 seconds for each test in this project
},

/* Test against branded browsers. */
// {
// name: 'Microsoft Edge',
// use: { ...devices['Desktop Edge'], channel: 'msedge' },
// },
// {
// name: 'Google Chrome',
// use: { ...devices['Desktop Chrome'], channel: 'chrome' },
// },
{
name: 'Microsoft Edge',
use: {...devices['Desktop Edge'], channel: 'msedge'},
timeout: 120000, // Set a timeout of 120 seconds for each test in this project
},
{
name: 'Google Chrome',
use: {...devices['Desktop Chrome'], channel: 'chrome'},
timeout: 120000, // Set a timeout of 120 seconds for each test in this project
},
],

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

0 comments on commit 02d23a2

Please sign in to comment.