From a605920fa4e4735bd9462b855115e8e5895aa241 Mon Sep 17 00:00:00 2001 From: Gabriel Porfirio Date: Tue, 30 May 2023 16:25:40 -0300 Subject: [PATCH] update the function that checks the restore presentation button --- .../playwright/customparameters/customparameters.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bigbluebutton-tests/playwright/customparameters/customparameters.js b/bigbluebutton-tests/playwright/customparameters/customparameters.js index 0ce28cae65..c6e00ee21c 100644 --- a/bigbluebutton-tests/playwright/customparameters/customparameters.js +++ b/bigbluebutton-tests/playwright/customparameters/customparameters.js @@ -129,8 +129,7 @@ class CustomParameters extends MultiUsers { async hidePresentationOnJoin() { await this.modPage.waitForSelector(e.actions); - const checkPresentationButton = await this.modPage.checkElement(e.restorePresentation); - await expect(checkPresentationButton).toBeTruthy(); + await this.modPage.hasElement(e.restorePresentation); await this.modPage.wasRemoved(e.presentationPlaceholder); }