mirror of
https://github.com/nasa/openmct.git
synced 2024-12-27 16:38:51 +00:00
c9bc390355
* ensure we're running one worker at a time for visual tests * New test for condition sets * Update testcase name and notes
34 lines
759 B
JavaScript
34 lines
759 B
JavaScript
/* eslint-disable no-undef */
|
|
// playwright.config.js
|
|
// @ts-check
|
|
|
|
/** @type {import('@playwright/test').PlaywrightTestConfig} */
|
|
const config = {
|
|
retries: 0,
|
|
testDir: 'tests',
|
|
timeout: 90 * 1000,
|
|
workers: 1,
|
|
webServer: {
|
|
command: 'npm run start',
|
|
port: 8080,
|
|
timeout: 200 * 1000,
|
|
reuseExistingServer: !process.env.CI
|
|
},
|
|
use: {
|
|
browserName: "chromium",
|
|
baseURL: 'http://localhost:8080/',
|
|
headless: true,
|
|
ignoreHTTPSErrors: true,
|
|
screenshot: 'on',
|
|
trace: 'off',
|
|
video: 'on'
|
|
},
|
|
reporter: [
|
|
['list'],
|
|
['junit', { outputFile: 'test-results/results.xml' }],
|
|
['allure-playwright']
|
|
]
|
|
};
|
|
|
|
module.exports = config;
|