-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
describe('Footer', () => { | ||
beforeEach(() => { | ||
cy.visit("http://localhost:3000/about"); | ||
|
||
}); | ||
|
||
it('displays About information', () => { | ||
cy.get('h3').contains('About').should('exist'); | ||
cy.get('h2').contains('You start the engine and your adventure begins').should('exist'); | ||
cy.get('p').contains('Certain but she but shyness why cottage. Guy the put instrument sir entreaties affronting. Pretended exquisite see cordially the you. Weeks quiet do vexed or whose. Motionless if no to affronting imprudence no precaution. My indulged as disposal strongly attended.').should('exist'); | ||
|
||
}); | ||
|
||
it('plan section', () => { | ||
cy.get('h3').contains('Plan your trip now').should('exist'); | ||
cy.get('h2').contains('Quick & easy car rental').should('exist'); | ||
cy.get('h3').contains('Contact Operator').should('exist'); | ||
|
||
}); | ||
|
||
it('Banner', () => { | ||
cy.get('h2').contains('Book a car by getting in touch with us').should('exist'); | ||
cy.get('h3').contains('(123) 456-7869').should('exist'); | ||
|
||
}); | ||
|
||
}); | ||
|