Files
nebula.js/test/rendering/playwright.config.rendering.js
Per Nylander 0b026f7c4b test: rendering test goes playwrigt (#1031)
* test: rendering test goes playwrigt

* test: update cci

* test: update cci

* test: update cci

* test: more playwright

* test: update config

* test: update config

* test: update config

* test: update baseline
2022-12-19 08:56:00 +01:00

27 lines
623 B
JavaScript

const config = {
reporter: [
['dot'],
['html', { outputFolder: './reports/html' }],
['junit', { outputFile: './test/rendering/reports/xml/report.xml' }],
],
testDir: './',
forbidOnly: !!process.env.CI,
timeout: 60000,
expect: {
toMatchSnapshot: { threshold: 0.00025 },
timeout: 30000,
},
workers: process.env.CI ? 1 : undefined,
use: {
browserName: 'chromium',
actionTimeout: 30000,
headless: true,
viewport: { width: 1280, height: 720 },
ignoreHTTPSErrors: true,
video: 'retain-on-failure',
screenshot: 'only-on-failure',
},
};
module.exports = config;