mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
fix(tests): add more time for getNotificationText.
The lobby tests were failing.
This commit is contained in:
committed by
Дамян Минков
parent
3514b22191
commit
ae983645d1
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user