Fix the picture-in-picture component being off screen (#9246)

This commit is contained in:
Robin
2022-09-06 04:28:01 +00:00
committed by GitHub
parent 6d03cb35b7
commit 4524291331
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -141,7 +141,7 @@ describe("Widget PIP", () => {
win.mxActiveWidgetStore.setWidgetPersistence(DEMO_WIDGET_ID, roomId, true);
// checks that pip window is opened
cy.get(".mx_CallView_pip").should("exist");
cy.get(".mx_LegacyCallView_pip").should("exist");
// checks that widget is opened in pip
cy.accessIframe(`iframe[title="${DEMO_WIDGET_NAME}"]`).within({}, () => {
@@ -158,7 +158,7 @@ describe("Widget PIP", () => {
}
// checks that pip window is closed
cy.get(".mx_CallView_pip").should("not.exist");
cy.get(".mx_LegacyCallView_pip").should("not.exist");
});
});
});