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): Adds option to clear iframeAPI events.
damencho5477e464898a
diff --git a/tests/pageobjects/IframeAPI.ts b/tests/pageobjects/IframeAPI.tsindex 5e965ca77c..faa6428261 100644--- a/tests/pageobjects/IframeAPI.ts+++ b/tests/pageobjects/IframeAPI.ts@@ -23,6 +23,17 @@ export default class IframeAPI extends BasePageObject {}, event);}+ /**+ * Clears the history of an event.+ * @param event+ */+ clearEventResults(event: string) {+ return this.participant.execute(+ eventName => {+ window.jitsiAPI.test[eventName] = undefined;+ }, event);+ }+/*** Adds an event listener to the iframeAPI.* @param eventName The event name.