summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/integration/iFrames/retry.e2e.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/retry.e2e.ts')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/retry.e2e.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/retry.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/retry.e2e.ts
index 60c07f4e7..e544720a7 100644
--- a/vid-webpack-master/cypress/integration/iFrames/retry.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/retry.e2e.ts
@@ -6,8 +6,7 @@ import {ServiceModel} from '../../support/jsonBuilders/models/service.model';
describe('Retry Page', function () {
let jsonBuilderAndMock: JsonBuilder<ServiceModel> = new JsonBuilder<ServiceModel>();
beforeEach(() => {
- cy.window().then((win) => {
- win.sessionStorage.clear();
+ cy.clearSessionStorage();
cy.preventErrorsOnLoading();
cy.initAAIMock();
jsonBuilderAndMock.basicMock('cypress/support/jsonBuilders/mocks/jsons/serviceModels/ecompNamingFalseModel.json',
@@ -16,7 +15,6 @@ describe('Retry Page', function () {
cy.initZones();
cy.permissionVidMock();
cy.login();
- });
});
afterEach(() => {