mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 14:08:58 +08:00
feat: baseurl is added and grabbed from the env
This commit is contained in:
parent
b2fc4776b7
commit
b8f8d59d40
@ -15,7 +15,7 @@
|
|||||||
"postinstall": "yarn husky:configure",
|
"postinstall": "yarn husky:configure",
|
||||||
"husky:configure": "cd .. && husky install frontend/.husky",
|
"husky:configure": "cd .. && husky install frontend/.husky",
|
||||||
"playwright": "playwright test --config=./playwright.config.ts",
|
"playwright": "playwright test --config=./playwright.config.ts",
|
||||||
"playwright:local:debug": "PWDEBUG=console yarn playwright"
|
"playwright:local:debug": "PWDEBUG=console yarn playwright --headed --browser=chromium"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12.13.0"
|
"node": ">=12.13.0"
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
import { PlaywrightTestConfig } from '@playwright/test';
|
import { PlaywrightTestConfig } from '@playwright/test';
|
||||||
|
import dotenv from 'dotenv';
|
||||||
|
|
||||||
|
dotenv.config();
|
||||||
|
|
||||||
const config: PlaywrightTestConfig = {
|
const config: PlaywrightTestConfig = {
|
||||||
forbidOnly: !!process.env.CI,
|
forbidOnly: !!process.env.CI,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user