Skip to content

Commit

Permalink
Moving baseURL in playwright config
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardroth committed Jul 15, 2024
1 parent 78d74f6 commit bc92dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const config: PlaywrightTestConfig = {
globalSetup: require.resolve(__dirname + '/global-setup.ts'),
use: {
trace: 'retain-on-failure',
baseURL: process.env['BASE_URL'] || 'http://localhost:4200/',
ignoreHTTPSErrors: true,
screenshot: 'only-on-failure',
video: 'on-first-retry',
Expand All @@ -38,6 +37,7 @@ const config: PlaywrightTestConfig = {
{
name: 'Web Chrome',
use: {
baseURL: 'http://localhost:4200/',
...devices['Desktop Chrome'],
launchOptions: {
chromiumSandbox: false,
Expand Down

0 comments on commit bc92dc0

Please sign in to comment.