Skip to content

Commit

Permalink
Add open ToDo to the wait()
Browse files Browse the repository at this point in the history
  • Loading branch information
Christine-Pinto committed Oct 29, 2020
1 parent fb3697d commit 095ff2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/integration/advanced.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('Advanced Challenge', () => {
// Click the 'next' button to switch the next month in the calendar
cy.get('.rbc-btn-group').children().last()
.click()
.wait(500);
.wait(500); // ToDo: Find a better way to check or wait here

// Conditional testing with Cypress is not as easy as it should be see here: https://docs.cypress.io/guides/core-concepts/conditional-testing.html
// As we do not reset the database for every test, there may be no room available for the period shown --> In this case the test clicks 'next' to go to the next month
Expand Down

0 comments on commit 095ff2a

Please # to comment.