feat: manage tenants and leases (#4)
This commit is contained in:
1 parent
26ab037084
commit
8603b98714
42 files changed
+3089
-18
No files matched your search
@@ -1,5 +1,7 @@
|
||||
import { defineConfig, devices } from '@playwright/test';
|
||||
|
||||
const e2ePort = process.env['E2E_PORT'] ?? '4200';
|
||||
|
||||
export default defineConfig({
|
||||
testDir: './e2e',
|
||||
fullyParallel: true,
|
||||
@@ -8,7 +10,7 @@ export default defineConfig({
|
||||
workers: process.env['CI'] ? 1 : undefined,
|
||||
reporter: process.env['CI'] ? 'line' : 'html',
|
||||
use: {
|
||||
baseURL: 'http://127.0.0.1:4200',
|
||||
baseURL: `http://127.0.0.1:${e2ePort}`,
|
||||
screenshot: 'only-on-failure',
|
||||
trace: 'on-first-retry',
|
||||
},
|
||||
@@ -36,8 +38,8 @@ export default defineConfig({
|
||||
},
|
||||
],
|
||||
webServer: {
|
||||
command: 'bun run start -- --host 127.0.0.1 --port 4200',
|
||||
url: 'http://127.0.0.1:4200',
|
||||
command: `bun run start -- --host 127.0.0.1 --port ${e2ePort}`,
|
||||
url: `http://127.0.0.1:${e2ePort}`,
|
||||
reuseExistingServer: !process.env['CI'],
|
||||
timeout: 120_000,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user