avoid notifications on parameter and user test
This commit is contained in:
parent
7f36f22e9c
commit
07966dd336
@ -4,6 +4,9 @@ const { DisabledFeatures } = require('./disabledFeatures');
|
||||
const c = require('./constants');
|
||||
const { encodeCustomParams, getAllShortcutParams, hexToRgb } = require('./util');
|
||||
const { CreateParameters } = require('./createParameters');
|
||||
const { PARAMETER_HIDE_PRESENTATION_TOAST } = require('../core/constants');
|
||||
|
||||
const hidePresentationToast = encodeCustomParams(PARAMETER_HIDE_PRESENTATION_TOAST);
|
||||
|
||||
test.describe.parallel('Create Parameters', () => {
|
||||
test('Record Meeting', async ({ browser, context, page }) => {
|
||||
@ -451,7 +454,7 @@ test.describe.parallel('Custom Parameters', () => {
|
||||
|
||||
test('Skip audio check on first join', async ({ browser, context, page }) => {
|
||||
const customParam = new CustomParameters(browser, context);
|
||||
await customParam.initModPage(page, false, { joinParameter: c.skipCheckOnFirstJoin });
|
||||
await customParam.initModPage(page, false, { createParameter: hidePresentationToast, joinParameter: c.skipCheckOnFirstJoin });
|
||||
await customParam.skipCheckOnFirstJoin();
|
||||
});
|
||||
});
|
||||
@ -475,7 +478,7 @@ test.describe.parallel('Custom Parameters', () => {
|
||||
test('Force Restore Presentation On New Poll Result', async ({ browser, context, page }) => {
|
||||
const customParam = new CustomParameters(browser, context);
|
||||
const joinParameter = c.forceRestorePresentationOnNewEvents;
|
||||
await customParam.initModPage(page, true, { joinParameter });
|
||||
await customParam.initModPage(page, true, { createParameter: hidePresentationToast, joinParameter });
|
||||
await customParam.forceRestorePresentationOnNewPollResult(joinParameter);
|
||||
});
|
||||
});
|
||||
|
@ -38,7 +38,7 @@ test.describe.parallel('User', () => {
|
||||
// https://docs.bigbluebutton.org/2.6/release-tests.html#set-status--raise-hand-automated
|
||||
test('Change user status @ci', async ({ browser, page }) => {
|
||||
const status = new Status(browser, page);
|
||||
await status.init(true, true);
|
||||
await status.init(true, true, { createParameter: hidePresentationToast });
|
||||
await status.changeUserStatus();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user