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); }