diff options
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/network.popup.e2e.ts')
-rw-r--r-- | vid-webpack-master/cypress/integration/iFrames/network.popup.e2e.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/network.popup.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/network.popup.e2e.ts index 387f34725..8768e34b5 100644 --- a/vid-webpack-master/cypress/integration/iFrames/network.popup.e2e.ts +++ b/vid-webpack-master/cypress/integration/iFrames/network.popup.e2e.ts @@ -8,8 +8,7 @@ describe('Network popup', function () { var jsonBuilderAndMock: JsonBuilder<ServiceModel> = new JsonBuilder<ServiceModel>(); beforeEach(() => { - cy.window().then((win) => { - win.sessionStorage.clear(); + cy.clearSessionStorage(); cy.setReduxState(); cy.preventErrorsOnLoading(); cy.permissionVidMock(); @@ -17,7 +16,6 @@ describe('Network popup', function () { cy.initAAIMock(); cy.initVidMock(); cy.login(); - }) }); afterEach(() => { |