Skip to content

Commit

Permalink
Merge pull request #16 from JakubRumpca/cross-browser
Browse files Browse the repository at this point in the history
Cross browser
  • Loading branch information
JakubRumpca authored Jul 15, 2024
2 parents 3f176fa + 6d545ba commit 3ea16c3
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineConfig } from '@playwright/test';
import { defineConfig, devices } from '@playwright/test';
import * as dotenv from "dotenv";
import { testPlanFilter } from "allure-playwright/dist/testplan";
dotenv.config({ path: __dirname+'/.env' });
dotenv.config({ path: __dirname + '/.env' });

export default defineConfig({
testDir: './tests',
Expand All @@ -17,4 +17,18 @@ export default defineConfig({
slowMo: 100,
},
},
projects: [
{
name: 'chromium',
use: devices['Desktop Chrome'],
},
{
name: 'firefox',
use: devices['Desktop Firefox'],
},
{
name: 'webkit',
use: devices['Desktop Safari'],
},
],
});

0 comments on commit 3ea16c3

Please sign in to comment.