bigbluebutton-Github/bigbluebutton-tests/playwright/core/constants.js

21 lines
708 B
JavaScript
Raw Normal View History

2022-06-08 02:52:22 +08:00
const CI = process.env.CI === 'true';
// GLOBAL TESTS VARS
2022-06-08 02:52:22 +08:00
exports.ELEMENT_WAIT_TIME = CI ? 10000 : 5000;
exports.ELEMENT_WAIT_LONGER_TIME = CI ? 20000 : 10000;
2021-11-27 04:01:41 +08:00
exports.LOOP_INTERVAL = 1200;
2021-12-02 02:10:05 +08:00
exports.USER_LIST_VLIST_BOTS_LISTENING = 50;
2021-11-27 04:01:41 +08:00
2021-12-01 22:16:37 +08:00
// STRESS TESTS VARS
exports.JOIN_AS_MODERATOR_TEST_ROUNDS = 15;
exports.MAX_JOIN_AS_MODERATOR_FAIL_RATE = 0.05;
exports.BREAKOUT_ROOM_INVITATION_TEST_ROUNDS = 20;
exports.JOIN_TWO_USERS_ROUNDS = 20;
exports.JOIN_TWO_USERS_KEEPING_CONNECTED_ROUNDS = 20;
2022-02-22 01:35:49 +08:00
exports.JOIN_TWO_USERS_EXCEEDING_MAX_PARTICIPANTS = 20;
exports.MAX_PARTICIPANTS_TO_JOIN = 4;
2021-12-01 22:16:37 +08:00
2021-11-27 04:01:41 +08:00
// MEDIA CONNECTION TIMEOUTS
2021-12-01 13:36:20 +08:00
exports.VIDEO_LOADING_WAIT_TIME = 15000;
2022-06-08 02:52:22 +08:00
exports.UPLOAD_PDF_WAIT_TIME = CI ? 40000 : 20000;