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

This commit is contained in:
Robin 2022-09-06 00:28:01 -04:00 committed by GitHub
parent 6d03cb35b7
commit 4524291331
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

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");
});
});
});