Skip to content

Commit

Permalink
add a better assertion for admin login command
Browse files Browse the repository at this point in the history
  • Loading branch information
Christine-Pinto committed Oct 19, 2020
1 parent 5eb41a1 commit c9d545f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ Cypress.Commands.add("sendMessage", (name, subject,email) => {
.click()

//Check if backend it loaded
cy.contains('a', 'B&B Booking Management')

cy.get('div.room-form')
.should('be.visible')
})

0 comments on commit c9d545f

Please # to comment.