Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(tests): add more time for getNotificationText.
Hristo Terezovae983645d165
diff --git a/tests/pageobjects/Notifications.ts b/tests/pageobjects/Notifications.tsindex edf944490d..7e88e424bb 100644--- a/tests/pageobjects/Notifications.ts+++ b/tests/pageobjects/Notifications.ts@@ -153,7 +153,7 @@ export default class Notifications extends BasePageObject {private async getNotificationText(testId: string) {const notificationElement = this.participant.driver.$(`[data-testid="${testId}"]`);- await notificationElement.waitForExist();+ await notificationElement.waitForExist({ timeout: 2_000 });return await notificationElement.getText();}diff --git a/tests/pageobjects/PreMeetingScreen.ts b/tests/pageobjects/PreMeetingScreen.tsindex 8bc032a0cc..3793bafdf1 100644--- a/tests/pageobjects/PreMeetingScreen.ts+++ b/tests/pageobjects/PreMeetingScreen.ts@@ -55,7 +55,7 @@ export default abstract class PreMeetingScreen extends BasePageObject {*/isLobbyRoomJoined() {return this.participant.driver.execute(- () => APP.conference._room?.room?.getLobby()?.lobbyRoom?.joined === true);+ () => APP?.conference?._room?.room?.getLobby()?.lobbyRoom?.joined === true);}/**