Fix the picture-in-picture component being off screen (#9246)
This commit is contained in:
parent
6d03cb35b7
commit
4524291331
4 changed files with 10 additions and 10 deletions
|
@ -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");
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue