Skip to content

Commit 4740ca5

Browse files
committed
Removed clear session and added reeset session on retry
1 parent a0f9e30 commit 4740ca5

16 files changed

+9
-17
lines changed

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ cypress.env.json
2828
*.njsproj
2929
*.sln
3030
*.sw?
31-
3231
*.env
3332

3433
*storybook.log

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/cypress/e2e/ui/labourMobilityCertifications/Alberta/labourMobilityAlbertaECE3Certification.cy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,5 @@ describe("Labour Mobility - ECE Level 3 Certification Transfer Application for A
4747
cy.get(selectors.applicationWizard.saveAndContinueButton).click();
4848

4949
cy.ECEFiveYearWorkflow(provinceName, certificationName);
50-
cy.resetBrowserState();
5150
});
5251
});

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/cypress/e2e/ui/labourMobilityCertifications/Nova Scotia/labourMobilityNovaScotiaLevel2Certification.cy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,5 @@ describe("Labour Mobility - Level 2 Certification Transfer Application for Nova
4545
cy.get(selectors.applicationWizard.saveAndContinueButton).click();
4646

4747
cy.ECEOneYearWorkflow(provinceName, certificationName);
48-
cy.resetBrowserState();
4948
});
5049
});

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/cypress/e2e/ui/labourMobilityCertifications/Prince Edward Island/labourMobilityPEEarlyChildhoodInternCertification.cy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,5 @@ describe("Labour Mobility - Early Childhood Intern Certification Transfer Applic
4141
cy.get(selectors.applicationWizard.saveAndContinueButton).click();
4242

4343
cy.ECEAssistantWorkflow(provinceName, certificationName);
44-
cy.resetBrowserState();
4544
});
4645
});

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/cypress/e2e/ui/labourMobilityCertifications/Yukon/labourMobilityYukonCCW3Certification.cy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,5 @@ describe("Labour Mobility - Child Care Worker III Certification Transfer Applica
4747
cy.get(selectors.applicationWizard.saveAndContinueButton).click();
4848

4949
cy.ECEFiveYearWorkflow(provinceName, certificationName);
50-
Cypress.session.clearAllSavedSessions();
5150
});
5251
});

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/cypress/e2e/ui/newCertifications/newECE5YearCertification.cy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,5 @@ describe("New ECE 5 Year Certificate Application", () => {
9797
cy.document().its("readyState").should("eq", "complete");
9898
cy.get(selectors.applicationSubmitted.pageTitle).should("be.visible").should("contain.text", "Application Submitted");
9999
cy.get(selectors.applicationSubmitted.applicationSummaryButton).should("be.visible").should("contain.text", "Go to application summary");
100-
Cypress.session.clearAllSavedSessions();
101100
});
102101
});

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/cypress/e2e/ui/newCertifications/newECE5YearPlusSNECertification.cy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,5 @@ describe("New ECE 5 Year + SNE Certificate Application", () => {
9595
cy.document().its("readyState").should("eq", "complete");
9696
cy.get(selectors.applicationSubmitted.pageTitle).should("be.visible").should("contain.text", "Application Submitted");
9797
cy.get(selectors.applicationSubmitted.applicationSummaryButton).should("be.visible").should("contain.text", "Go to application summary");
98-
cy.resetBrowserState();
9998
});
10099
});

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/cypress/e2e/ui/newCertifications/newECEOneYearCertification.cy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,5 @@ describe("New ECE One Year Certificate Application", () => {
7676
cy.document().its("readyState").should("eq", "complete");
7777
cy.get(selectors.applicationSubmitted.pageTitle).should("be.visible").should("contain.text", "Application Submitted");
7878
cy.get(selectors.applicationSubmitted.applicationSummaryButton).should("be.visible").should("contain.text", "Go to application summary");
79-
Cypress.session.clearAllSavedSessions();
8079
});
8180
});

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/cypress/e2e/ui/renewCertifications/renewECE5Year/renewActiveECE5YearCertification.cy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,5 @@ describe("Renew Active ECE 5 Year Certificate Application", () => {
9292
cy.document().its("readyState").should("eq", "complete");
9393
cy.get(selectors.applicationSubmitted.pageTitle).should("be.visible").should("contain.text", "Application Submitted");
9494
cy.get(selectors.applicationSubmitted.applicationSummaryButton).should("be.visible").should("contain.text", "Go to application summary");
95-
cy.resetBrowserState();
9695
});
9796
});

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/cypress/e2e/ui/renewCertifications/renewECE5Year/renewExpiredECE5YearCertification-ExpiredMoreThan5Years.cy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,5 @@ describe("Renew Expired (for more than 5 Years) ECE 5 Year Certificate Applicati
9292
cy.document().its("readyState").should("eq", "complete");
9393
cy.get(selectors.applicationSubmitted.pageTitle).should("be.visible").should("contain.text", "Application Submitted");
9494
cy.get(selectors.applicationSubmitted.applicationSummaryButton).should("be.visible").should("contain.text", "Go to application summary");
95-
Cypress.session.clearAllSavedSessions();
9695
});
9796
});

0 commit comments

Comments
 (0)