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): wake auto-hidden toolbar before opening overflow menu (#17419)
Jaya Allamsettydf1162177723
diff --git a/tests/pageobjects/Toolbar.ts b/tests/pageobjects/Toolbar.tsindex 3dd87c841f..b117e0392e 100644--- a/tests/pageobjects/Toolbar.ts+++ b/tests/pageobjects/Toolbar.ts@@ -331,6 +331,18 @@ export default class Toolbar extends BasePageObject {return;}+ // Wake the auto-hidden toolbar by hovering the local video tile; otherwise the overflow+ // button click can fire on an invisible element and the menu never appears. When the+ // self-view is hidden (e.g. via settings), localVideoContainer is not in the DOM, so fall+ // back to the large video container which is always present while in conference.+ const localVideoContainer = this.participant.driver.$('span[id="localVideoContainer"]');++ if (await localVideoContainer.isExisting()) {+ await localVideoContainer.moveTo();+ } else {+ await this.participant.driver.$('#largeVideoContainer').moveTo();+ }+await this.clickOverflowButton();await this.waitForOverFlowMenu(true);