mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 09:48:18 -05:00
* 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
27 lines
632 B
JavaScript
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',
|
|
},
|
|
});
|