Skip to content

Commit

Permalink
add additional comments to spec bridge iframe scss for caution
Browse files Browse the repository at this point in the history
  • Loading branch information
AtofStryker committed May 13, 2022
1 parent eb89971 commit e26ae8b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/app/src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ iframe.spec-bridge-iframe {
position: fixed;
visibility: hidden;
width: 100%;
// NOTE: Please do NOT remove top/left styles from the .spec-bridge-iframe.
// This is needed to overlay the spec bridge on top of the AUT/Reporter to avoid performance issues in Electron when the iframe is outside the viewport.
// Full size of the iframe is needed for cy.screenshot to work properly
top: 0;
left: 0;
}

0 comments on commit e26ae8b

Please sign in to comment.