You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
533 B
16 lines
533 B
import dotenv from 'dotenv';
|
|
// load environment variables from .env file
|
|
dotenv.config();
|
|
|
|
// Simple config object with just the values
|
|
export const appConfig = {
|
|
baseURL: process.env.GHOST_BASE_URL || 'http://localhost:2368',
|
|
|
|
auth: {
|
|
email: process.env.E2E_ACCOUNT_EMAIL || 'test@ghost.org',
|
|
password: process.env.E2E_ACCOUNT_PASSWORD || 'test@123@test',
|
|
storageFile: 'playwright/.auth/user.json'
|
|
},
|
|
debugLogs: process.env.E2E_DEBUG_LOGS === 'true' || process.env.E2E_DEBUG_LOGS === '1'
|
|
};
|