-
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.
Merge pull request #61 from bcgov/cypress
Cypress
- Loading branch information
Showing
8 changed files
with
43 additions
and
9 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
describe('Testing District homepage', () => { | ||
before(() => { | ||
// Visit the root URL before running any test case. | ||
cy.visit('/authority/100-Abbotsford%20Christian%20School'); | ||
}); | ||
|
||
it('visits the app root url', () => { | ||
cy.contains('h2', '100 - Abbotsford Christian School'); | ||
}); | ||
}); |
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,10 @@ | ||
describe('Testing District homepage', () => { | ||
before(() => { | ||
// Visit the root URL before running any test case. | ||
cy.visit('/district/006-rocky%20mountain'); | ||
}); | ||
|
||
it('visits the app root url', () => { | ||
cy.contains('h2', '006 - Rocky Mountain'); | ||
}); | ||
}); |
This file was deleted.
Oops, something went wrong.
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,10 @@ | ||
describe('Testing 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'); | ||
}); | ||
}); |
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,10 @@ | ||
describe('Testing District homepage', () => { | ||
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('h2', 'Lambrick Park Secondary - 06161064'); | ||
}); | ||
}); |
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