mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 04:55:41 +00:00
feat(testing): Improved debugging dx
This commit is contained in:
@@ -30,7 +30,6 @@ const config: PlaywrightTestConfig = {
|
||||
/* Opt out of parallel tests on CI. */
|
||||
workers: process.env.CI ? 2 : 4,
|
||||
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
||||
reporter: 'html',
|
||||
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
|
||||
use: {
|
||||
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
|
||||
@@ -39,10 +38,9 @@ const config: PlaywrightTestConfig = {
|
||||
baseURL: 'http://localhost:3000',
|
||||
|
||||
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
|
||||
trace: process.env.CI ? 'on-first-retry': 'on',
|
||||
trace: process.env.CI ? 'on-first-retry': process.env.TRACE ? 'on' : 'off',
|
||||
screenshot: 'only-on-failure',
|
||||
},
|
||||
|
||||
/* Configure projects for major browsers */
|
||||
projects: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user