diff --git a/playwright.config.ts b/playwright.config.ts index 39dd566..83cbe88 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -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: { @@ -79,18 +79,18 @@ 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. */ @@ -98,8 +98,9 @@ const config: PlaywrightTestConfig = { /* 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, }, };