Skip to content

Commit

Permalink
fix: Disables web security for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ViMaSter committed Aug 18, 2023
1 parent 0656c23 commit 486bf4c
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions playwright-ct.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,21 @@ export default defineConfig({
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
{
name: 'firefox',
use: { ...devices['Desktop Firefox'] },
},
{
name: 'webkit',
use: { ...devices['Desktop Safari'] },
use: {
...devices['Desktop Chrome'],
launchOptions: {
args: ['--disable-web-security --user-data-dir="./tmp/google"'],
}
},
},
{
name: 'pixel5',
use: { ...devices['Pixel 5'] },
use: {
...devices['Pixel 5'],
launchOptions: {
args: ['--disable-web-security --user-data-dir="./tmp/google"'],
}
},
},
],
});
});

0 comments on commit 486bf4c

Please sign in to comment.