Created
July 10, 2020 20:13
-
-
Save bmitchinson/fd2ad473067f0740be63e049515091c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
context('Form is rendered on a valid route', function() { | |
before(() => { | |
cy.server(); | |
cy.route('POST', '/session', 'fixture:postSessionResponse').as('postSession'); | |
cy.visit('/feedback/1/6'); | |
cy.wait('@postSession'); | |
}); | |
it('Displays all the menu item review components', function() { | |
cy.get('#tomato\\ bisque'); | |
cy.get('#chicken\\ strips'); | |
}); | |
it('Displays the service review component', function() { | |
cy.get('#service'); | |
}); | |
it('Displays the atmosphere review component', function() { | |
cy.get('#atmosphere'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment