-
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
1 parent
ffdfe1e
commit 42edcea
Showing
4 changed files
with
6 additions
and
27 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
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 |
---|---|---|
@@ -1,18 +1,11 @@ | ||
describe('Testing District homepage', () => { | ||
before(() => { | ||
// Visit the root URL before running any test case. | ||
cy.visit('/'); | ||
}); | ||
|
||
it('visits the app root url', () => { | ||
cy.contains('h1', 'BC School & District Contact Information'); | ||
}); | ||
|
||
before(() => { | ||
// Visit the root URL before running any test case. | ||
cy.visit('/district/006-rocky%20mountain'); | ||
}); | ||
|
||
it('visits the app root url', () => { | ||
cy.contains('h1', '006 - Rocky Mountain'); | ||
cy.contains('h1', '006 - Rocky Mountain', { timeout: 10000 }); | ||
}); | ||
}); |
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
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 |
---|---|---|
@@ -1,18 +1,11 @@ | ||
describe('Testing School Page', () => { | ||
before(() => { | ||
// Visit the root URL before running any test case. | ||
cy.visit('/'); | ||
}); | ||
|
||
it('visits the app root url', () => { | ||
cy.contains('h1', 'BC School & District Contact Information'); | ||
}); | ||
|
||
before(() => { | ||
// Visit the root URL before running any test case. | ||
cy.visit('/school/6eb5dc63-450d-01e8-5f97-a0e43ecb6419'); | ||
}); | ||
|
||
it('Confirm school title is displaying', () => { | ||
cy.contains('h1', '06161064 - Lambrick Park Secondary'); | ||
cy.contains('h1', '06161064 - Lambrick Park Secondary', { timeout: 10000 }); | ||
}); | ||
}); |