update the function that checks the restore presentation button

This commit is contained in:
Gabriel Porfirio 2023-05-30 16:25:40 -03:00
parent 905312e184
commit a605920fa4

View File

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