Merge pull request #20234 from gabriellpr/test-fix-layout

test: Fix layout tests
This commit is contained in:
Anton Georgiev 2024-05-22 15:41:23 -04:00 committed by GitHub
commit 227ca44eec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@ class Layouts extends MultiUsers {
await this.modPage.waitAndClick(e.manageLayoutBtn);
await this.modPage.waitAndClick(e.focusOnPresentation);
await this.modPage.waitAndClick(e.updateLayoutBtn);
await this.modPage.waitAndClick(e.toastContainer);
await this.modPage.closeAllToastNotifications();
await this.modPage.wasRemoved(e.toastContainer);
await checkScreenshots(this, e.webcamContainer, 'focus-on-presentation');
@ -19,7 +19,7 @@ class Layouts extends MultiUsers {
await this.modPage.waitAndClick(e.manageLayoutBtn);
await this.modPage.waitAndClick(e.focusOnVideo);
await this.modPage.waitAndClick(e.updateLayoutBtn);
await this.modPage.waitAndClick(e.toastContainer);
await this.modPage.closeAllToastNotifications();
await this.modPage.wasRemoved(e.toastContainer);
await checkScreenshots(this, e.webcamContainer, 'grid-layout');
@ -30,7 +30,7 @@ class Layouts extends MultiUsers {
await this.modPage.waitAndClick(e.manageLayoutBtn);
await this.modPage.waitAndClick(e.smartLayout);
await this.modPage.waitAndClick(e.updateLayoutBtn);
await this.modPage.waitAndClick(e.toastContainer);
await this.modPage.closeAllToastNotifications();
await this.modPage.wasRemoved(e.toastContainer);
await checkScreenshots(this, e.webcamContainer, 'smart-layout', 1);
@ -47,7 +47,7 @@ class Layouts extends MultiUsers {
await this.modPage.waitAndClick(e.manageLayoutBtn);
await this.modPage.waitAndClick(e.customLayout);
await this.modPage.waitAndClick(e.updateLayoutBtn);
await this.modPage.waitAndClick(e.toastContainer);
await this.modPage.closeAllToastNotifications();
await this.modPage.wasRemoved(e.toastContainer);
await checkScreenshots(this, 'video', 'custom-layout', 1);
@ -84,7 +84,7 @@ class Layouts extends MultiUsers {
await this.modPage.waitAndClick(e.manageLayoutBtn);
await this.modPage.waitAndClick(e.customLayout);
await this.modPage.waitAndClick(e.updateEveryoneLayoutBtn);
await this.modPage.waitAndClick(e.toastContainer);
await this.modPage.closeAllToastNotifications();
await this.modPage.wasRemoved(e.toastContainer);
// Presenter minimizes presentation

View File

@ -7,7 +7,7 @@ const { initializePages } = require('../core/helpers');
const hidePresentationToast = encodeCustomParams(PARAMETER_HIDE_PRESENTATION_TOAST);
test.describe("Layout management", () => {
test.describe("Layout @ci", () => {
const layouts = new Layouts();
test.describe.configure({ mode: fullyParallel ? 'parallel' : 'serial' });