Skip to content

Commit

Permalink
2351 | Fixed drawer overlap e2e test (SAP#2360)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalgamon authored Nov 4, 2021
1 parent 0cf9e2d commit f14e2da
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,8 @@ describe('Luigi client linkManager', () => {

win.Luigi.navigation().openAsDrawer('/projects/pr1/webcomponent', { overlap: false });

cy.wait(300);

cy.get('.drawer-dialog')
.invoke('width')
.should('eq', pageWidth * 0.25);
Expand All @@ -528,6 +530,8 @@ describe('Luigi client linkManager', () => {
.should('exist')
.click();

cy.wait(300);

cy.get('.iframeContainer iframe')
.invoke('width')
.should('eq', containerWidth);
Expand Down

0 comments on commit f14e2da

Please sign in to comment.