diff --git a/tests-e2e/cypress/e2e/authority.cy.ts b/tests-e2e/cypress/e2e/authority.cy.ts index ad0f82f..5fff519 100644 --- a/tests-e2e/cypress/e2e/authority.cy.ts +++ b/tests-e2e/cypress/e2e/authority.cy.ts @@ -3,9 +3,10 @@ describe('Testing Authority Page', () => { before(() => { // Visit the root URL before running any test case. cy.visit('/authority/100-Abbotsford%20Christian%20School'); + cy.wait(5000); // 5000 milliseconds = 5 seconds }); it('Confirm the Authority is displaying', () => { - cy.contains('h1', '100 - Abbotsford Christian School', { timeout: 10000 }); + cy.contains('h1', '100 - Abbotsford Christian School'); }); }); \ No newline at end of file diff --git a/tests-e2e/cypress/e2e/district.cy.ts b/tests-e2e/cypress/e2e/district.cy.ts index ce66dda..0e9b104 100644 --- a/tests-e2e/cypress/e2e/district.cy.ts +++ b/tests-e2e/cypress/e2e/district.cy.ts @@ -3,9 +3,10 @@ describe('Testing District homepage', () => { before(() => { // Visit the root URL before running any test case. cy.visit('/district/006-rocky%20mountain'); + cy.wait(5000); // 5000 milliseconds = 5 seconds }); it('visits the app root url', () => { - cy.contains('h1', '006 - Rocky Mountain', { timeout: 10000 }); + cy.contains('h1', '006 - Rocky Mountain'); }); }); \ No newline at end of file diff --git a/tests-e2e/cypress/e2e/home.cy.ts b/tests-e2e/cypress/e2e/home.cy.ts index 94fda19..3ed6675 100644 --- a/tests-e2e/cypress/e2e/home.cy.ts +++ b/tests-e2e/cypress/e2e/home.cy.ts @@ -2,9 +2,10 @@ describe('Testing Home Page', () => { before(() => { // Visit the root URL before running any test case. cy.visit('/'); + cy.wait(5000); // 5000 milliseconds = 5 seconds }); it('visits the app root url', () => { - cy.contains('h1', 'BC School & District Contact Information', { timeout: 10000 }); + cy.contains('h1', 'BC School & District Contact Information'); }); }); \ 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 0c030c8..cb7dd33 100644 --- a/tests-e2e/cypress/e2e/school.cy.ts +++ b/tests-e2e/cypress/e2e/school.cy.ts @@ -3,9 +3,10 @@ describe('Testing School Page', () => { before(() => { // Visit the root URL before running any test case. cy.visit('/school/6eb5dc63-450d-01e8-5f97-a0e43ecb6419'); + cy.wait(5000); // 5000 milliseconds = 5 seconds }); it('Confirm school title is displaying', () => { - cy.contains('h1', '06161064 - Lambrick Park Secondary', { timeout: 10000 }); + cy.contains('h1', '06161064 - Lambrick Park Secondary'); }); }); \ No newline at end of file