Skip to content

Commit

Permalink
Merge pull request #122 from bcgov/teste2efix
Browse files Browse the repository at this point in the history
fixed 2 test cases
  • Loading branch information
michaeltangbcgov authored Nov 24, 2023
2 parents 2d180e2 + 713788f commit 92aa700
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests-e2e/cypress/e2e/authority.cy.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
describe('Testing Authority Page', () => {
before(() => {
// Visit the root URL before running any test case.
cy.visit('/authority/100-Abbotsford%20Christian%20School');
cy.visit('/authority/100-Abbotsford%20Christian%20School%20Society');
});

it('visits the app root url', () => {
cy.contains('h1', '100 - Abbotsford Christian School');
cy.contains('h1', '100 - Abbotsford Christian School Society');
});
});
2 changes: 1 addition & 1 deletion tests-e2e/cypress/e2e/school.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ describe('Testing School Page', () => {
});

it('Confirm school title is displaying', () => {
cy.contains('h2', '06161064 - Lambrick Park Secondary');
cy.contains('h1', '06161064 - Lambrick Park Secondary');
});
});

0 comments on commit 92aa700

Please sign in to comment.