diff --git a/playwright.config.ts b/playwright.config.ts index ce0878bf..e5793256 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -25,8 +25,9 @@ export default defineConfig({ }, projects: [ + /* Harness Integration Projects */ { - name: 'harness', + name: 'harness-chromium', testDir: './packages/webui/e2e/tests', use: { ...devices['Desktop Chrome'], @@ -35,7 +36,27 @@ export default defineConfig({ }, }, { - name: 'app', + name: 'harness-firefox', + testDir: './packages/webui/e2e/tests', + use: { + ...devices['Desktop Firefox'], + // eslint-disable-next-line @typescript-eslint/naming-convention + baseURL: 'http://localhost:5199', + }, + }, + { + name: 'harness-webkit', + testDir: './packages/webui/e2e/tests', + use: { + ...devices['Desktop Safari'], + // eslint-disable-next-line @typescript-eslint/naming-convention + baseURL: 'http://localhost:5199', + }, + }, + + /* Fullstack App E2E Projects */ + { + name: 'app-chromium', testDir: './apps/web/e2e', fullyParallel: false, // run sequentially to avoid DB and storage conflicts use: { @@ -44,6 +65,26 @@ export default defineConfig({ baseURL: 'http://localhost:5200', }, }, + { + name: 'app-firefox', + testDir: './apps/web/e2e', + fullyParallel: false, + use: { + ...devices['Desktop Firefox'], + // eslint-disable-next-line @typescript-eslint/naming-convention + baseURL: 'http://localhost:5200', + }, + }, + { + name: 'app-webkit', + testDir: './apps/web/e2e', + fullyParallel: false, + use: { + ...devices['Desktop Safari'], + // eslint-disable-next-line @typescript-eslint/naming-convention + baseURL: 'http://localhost:5200', + }, + }, ], // Launch both the isolated harness server and the fullstack web app server