test: always keep trace viewer and remove DEBUG_MODE env variable

This commit is contained in:
Anton B 2024-03-05 15:57:16 -03:00
parent 7c4446560f
commit 24ff4d2a50
2 changed files with 1 additions and 5 deletions

View File

@ -2,5 +2,4 @@
BBB_URL="" # https://DOMAIN_NAME/bigbluebutton/api
BBB_SECRET=""
DEBUG_MODE="" # (true / false|empty) Enable or disable debug features
TIMEOUT_MULTIPLIER=1 # (number / empty) Apply a multiplier on default timeouts - depending the server strength (not recommended to use greater values than 3)

View File

@ -3,7 +3,6 @@ const { chromiumConfig, firefoxConfig, webkitConfig } = require('./core/browsers
const { ELEMENT_WAIT_TIME } = require('./core/constants');
const CI = process.env.CI === 'true';
const DEBUG_MODE = process.env.DEBUG_MODE === 'true';
const config = {
workers: CI ? 1 : 2,
@ -16,9 +15,7 @@ const config = {
fullyParallel: CI,
use: {
headless: true,
trace: DEBUG_MODE ? 'on'
: CI ? 'retain-on-failure'
: 'off',
trace: 'on',
screenshot: 'on',
video: 'on',
},