Skip to content

Commit

Permalink
Increase rendering test waiting time
Browse files Browse the repository at this point in the history
In seems that the test in the GitHub action need
longer time to respond to viewport changes.
  • Loading branch information
AlexImb committed Jun 23, 2020
1 parent 924d1b6 commit 86e6f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/integration/rendering.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ for (let [device, resolutions] of Object.entries(deviceResolutions)) {
if (width / height >= 1) {
it("last hiding div in viewport", () => {
// Wait for the app to react to the viewport changes
cy.wait(1000)
cy.wait(2000)
cy.screenshot(`${device} resolution ${width}x${height}`)
const imagePath = `screenshots/${Cypress.spec.name}/${device} resolution ${width}x${height}.png`
cy.addContext(imagePath)
Expand Down

0 comments on commit 86e6f6f

Please sign in to comment.