add debug features
This commit is contained in:
parent
e988734bf4
commit
94ea254d21
@ -1,3 +1,5 @@
|
|||||||
# meeting credentials
|
# meeting credentials
|
||||||
BBB_URL="" # https://DOMAIN_NAME/bigbluebutton/api
|
BBB_URL="" # https://DOMAIN_NAME/bigbluebutton/api
|
||||||
BBB_SECRET=""
|
BBB_SECRET=""
|
||||||
|
|
||||||
|
DEBUG_MODE="" # (true / false|empty) Enable or disable debug features
|
||||||
|
2
bigbluebutton-tests/playwright/.gitignore
vendored
2
bigbluebutton-tests/playwright/.gitignore
vendored
@ -1,2 +1,4 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
.env
|
.env
|
||||||
|
test-results/
|
||||||
|
playwright-report/
|
||||||
|
@ -3,6 +3,7 @@ require('dotenv').config();
|
|||||||
const config = {
|
const config = {
|
||||||
workers: 1,
|
workers: 1,
|
||||||
timeout: 3 * 60 * 1000,
|
timeout: 3 * 60 * 1000,
|
||||||
|
reporter: [['list']],
|
||||||
use: {
|
use: {
|
||||||
headless: true,
|
headless: true,
|
||||||
},
|
},
|
||||||
@ -49,4 +50,10 @@ const config = {
|
|||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (process.env.DEBUG_MODE === 'true') {
|
||||||
|
config.reporter.push(['html', { open: 'never' }]);
|
||||||
|
config.use.screenshot = 'only-on-failure';
|
||||||
|
config.use.trace = 'retain-on-failure';
|
||||||
|
}
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
Loading…
Reference in New Issue
Block a user