mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 16:02:14 +00:00
b4908392d0
* fix(frontend): Playwright * fix(frontend): Update test base url * feat(ci): Add base url to playwright
14 lines
527 B
TypeScript
14 lines
527 B
TypeScript
// playwright.config.ts
|
|
import type { PlaywrightTestConfig } from '@playwright/test'
|
|
const config: PlaywrightTestConfig = {
|
|
globalSetup: './global-setup',
|
|
use: {
|
|
// Tell all tests to load signed-in state from 'storageState.json'.
|
|
storageState: 'storageState.json',
|
|
// baseURL is set in the globalSetup script as well, because it's not affected by this config.
|
|
// Make sure to update it there as well when this is updated.
|
|
baseURL: process.env.BASE_URL || 'http://localhost'
|
|
}
|
|
}
|
|
export default config
|