diff --git a/tests-e2e/cypress/e2e/authority.cy.ts b/tests-e2e/cypress/e2e/authority.cy.ts index 4544ced..7901b1d 100644 --- a/tests-e2e/cypress/e2e/authority.cy.ts +++ b/tests-e2e/cypress/e2e/authority.cy.ts @@ -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'); }); }); \ No newline at end of file diff --git a/tests-e2e/cypress/e2e/school.cy.ts b/tests-e2e/cypress/e2e/school.cy.ts index 53b3324..1c61e75 100644 --- a/tests-e2e/cypress/e2e/school.cy.ts +++ b/tests-e2e/cypress/e2e/school.cy.ts @@ -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'); }); }); \ No newline at end of file