Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
iib0011 committed Jun 28, 2024
1 parent 12c815a commit f88536e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
19 changes: 9 additions & 10 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { defineConfig, devices } from '@playwright/test';

const baseUrl = process.env.BASE_URL || 'http://localhost:5050';
const isCI = !!process.env.CI;

export default defineConfig({
testDir: './src',
testMatch: /\.e2e\.(spec\.)?ts$/,
fullyParallel: true,
retries: 1,
use: {
baseURL: 'http://localhost:5173',
baseURL: isCI ? 'http://localhost:4173' : 'http://localhost:5173',
trace: 'on-first-retry'
},
webServer: {
Expand Down

0 comments on commit f88536e

Please sign in to comment.