mirror of
https://github.com/plankanban/planka.git
synced 2025-08-05 05:25:29 +02:00
parent
ad7fb51cfa
commit
2ee1166747
1557 changed files with 76832 additions and 47042 deletions
|
@ -1,12 +1,14 @@
|
|||
module.exports = {
|
||||
// environment
|
||||
adminUser: {
|
||||
email: 'demo@demo.demo',
|
||||
password: 'demo',
|
||||
},
|
||||
baseUrl: process.env.BASE_URL ?? 'http://localhost:1337/',
|
||||
// playwright
|
||||
slowMo: parseInt(process.env.SLOW_MO, 10) || 1000,
|
||||
timeout: parseInt(process.env.TIMEOUT, 10) || 6000,
|
||||
headless: process.env.HEADLESS !== 'true',
|
||||
const BASE_URL = process.env.BASE_URL || 'http://localhost:1337';
|
||||
|
||||
const TIMEOUT = parseInt(process.env.TIMEOUT, 10) || 6000;
|
||||
|
||||
const PLAYWRIGHT = {
|
||||
headless: process.env.PLAYWRIGHT_HEADLESS !== 'false',
|
||||
slowMo: parseInt(process.env.PLAYWRIGHT_SLOW_MO, 10) || 1000,
|
||||
};
|
||||
|
||||
export default {
|
||||
BASE_URL,
|
||||
TIMEOUT,
|
||||
PLAYWRIGHT,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue