mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 22:42:24 +00:00
19b3be7ec0
Co-authored-by: unlikelyzero <jchill2@gmail.com>
33 lines
696 B
JavaScript
33 lines
696 B
JavaScript
/* eslint-disable no-undef */
|
|
// playwright.config.js
|
|
// @ts-check
|
|
|
|
/** @type {import('@playwright/test').PlaywrightTestConfig} */
|
|
const config = {
|
|
retries: 0,
|
|
testDir: 'tests',
|
|
timeout: 30 * 1000,
|
|
webServer: {
|
|
command: 'npm run start',
|
|
port: 8080,
|
|
timeout: 120 * 1000,
|
|
reuseExistingServer: !process.env.CI
|
|
},
|
|
workers: 1,
|
|
use: {
|
|
browserName: "chromium",
|
|
baseURL: 'http://localhost:8080/',
|
|
headless: false,
|
|
ignoreHTTPSErrors: true,
|
|
screenshot: 'on',
|
|
trace: 'on',
|
|
video: 'on'
|
|
},
|
|
reporter: [
|
|
['list'],
|
|
['allure-playwright']
|
|
]
|
|
};
|
|
|
|
module.exports = config;
|