Files
lexical/playwright.config.js
Acy Watson d57876077a Fix assert (#1505)
* fix assertHTML

* remove unused

* lint

* fix history

* add back retries
2022-04-09 00:43:33 -07:00

32 lines
762 B
JavaScript

'use strict';
const {devices} = require('@playwright/test');
const config = {
forbidOnly: !!process.env.CI,
projects: [
{
name: 'chromium',
testDir: './packages/lexical-playground/__tests__/',
use: {...devices['Desktop Chrome']},
},
{
name: 'firefox',
testDir: './packages/lexical-playground/__tests__/',
use: {...devices['Desktop Firefox']},
},
{
name: 'webkit',
testDir: './packages/lexical-playground/__tests__/',
use: {...devices['Desktop Safari']},
},
],
retries: process.env.CI ? 5 : 1,
timeout: 60000,
use: {
// this causes issues in the CI on on current version.
//trace: 'retain-on-failure',
video: 'on-first-retry',
},
};
module.exports = config;