add git diffs and permission support
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
import { defineConfig, devices } from '@playwright/test';
|
||||
|
||||
// E2E uses different ports to avoid conflicts with dev servers
|
||||
export const E2E_BACKEND_PORT = 3001;
|
||||
export const E2E_FRONTEND_PORT = 5174;
|
||||
export const E2E_BACKEND_URL = `http://localhost:${E2E_BACKEND_PORT}`;
|
||||
export const E2E_FRONTEND_URL = `https://localhost:${E2E_FRONTEND_PORT}`;
|
||||
|
||||
export default defineConfig({
|
||||
testDir: './tests',
|
||||
fullyParallel: false,
|
||||
@@ -9,7 +15,7 @@ export default defineConfig({
|
||||
reporter: 'list',
|
||||
timeout: 30000,
|
||||
use: {
|
||||
baseURL: 'https://localhost:5173',
|
||||
baseURL: E2E_FRONTEND_URL,
|
||||
trace: 'on-first-retry',
|
||||
ignoreHTTPSErrors: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user