Skip to content

Commit

Permalink
use wider viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
norbertschuler committed Nov 28, 2021
1 parent f0419ad commit d6827f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion cypress.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"chromeWebSecurity": false
"chromeWebSecurity": false,
"viewportWidth": 1280,
"viewportHeight": 1024
}
4 changes: 2 additions & 2 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
Cypress.Commands.add('BasicDonation', () => {
cy.visit(Cypress.env('TEST_SERVER') + '/yucatan')
cy.skipIntroVideo()
cy.wait(5000)
cy.wait(15000) // wait a little longer for tests running on 'npm run dev' instances
cy.get('[data-test-id="donateButton"]').click()
cy.contactForm("Peter", "Payer", "[email protected]", "Unbekannt 1", "Uffing am Staffelsee", "Germany{enter}", "82449")
})
Expand Down Expand Up @@ -195,7 +195,7 @@ Cypress.Commands.add("projectDetails", () => {
cy.wait(5000)
cy.get('[data-test-id="siteName"]').type(randomstring)
cy.get('[data-test-id="siteStatus"]').click()
cy.contains("Planting").click()
cy.contains("Planted").click()
cy.get('[data-test-id="projSitesCont"]').click()
cy.wait(5000)
cy.get('[data-test-id="projSpendingCont"]').click()
Expand Down

0 comments on commit d6827f7

Please sign in to comment.