Files
nebula.js/test/rendering/playwright.config.rendering.js
Tobias Åström 32d600e88b chore: convert rendering tests to es6 (#1658)
* chore: convert rendering tests to es6

* chore: fix cjs config usage

* chore: fix cjs config usage

* chore: fix verify translations

* chore: babel and jest es6

* chore: aw cjs

* chore: aw cjs

* chore: aw cjs

* chore: fix path
2024-12-30 14:40:28 +01:00

27 lines
632 B
JavaScript

import { defineConfig } from '@playwright/test';
export default defineConfig({
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: 1,
use: {
browserName: 'chromium',
actionTimeout: 30000,
headless: true,
viewport: { width: 1280, height: 720 },
ignoreHTTPSErrors: true,
video: 'retain-on-failure',
screenshot: 'only-on-failure',
},
});