Skip to content

Commit

Permalink
change wait()
Browse files Browse the repository at this point in the history
  • Loading branch information
Christine-Pinto committed Oct 29, 2020
1 parent 095ff2a commit 27f9057
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 @@ -34,7 +34,7 @@ describe('Advanced Challenge', () => {
if ($body.find("div.rbc-event-content").length > 0) { // There are some dates not available for the room
cy.get('.rbc-btn-group').children().last()
.click()
.wait(800); // Need to wait for the 'unaviable'-label to appear --> ToDo: Find a better way to wait for an element that might not be there
.wait(500); // Need to wait for the 'unaviable'-label to appear --> ToDo: Find a better way to wait for an element that might not be there
}
else {
i = 15; // Set the counter to 15 to continue the test as there are dates available
Expand Down

0 comments on commit 27f9057

Please # to comment.