diff options
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/service.popup.e2e.ts')
-rw-r--r-- | vid-webpack-master/cypress/integration/iFrames/service.popup.e2e.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/service.popup.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/service.popup.e2e.ts index d95cfdb32..d1d41d0d9 100644 --- a/vid-webpack-master/cypress/integration/iFrames/service.popup.e2e.ts +++ b/vid-webpack-master/cypress/integration/iFrames/service.popup.e2e.ts @@ -3,14 +3,12 @@ describe('Service popup', function () { describe('basic UI tests', () => { beforeEach(() => { - cy.window().then((win) => { - win.sessionStorage.clear(); + cy.clearSessionStorage(); cy.setReduxState(); cy.preventErrorsOnLoading(); cy.initAAIMock(); cy.initVidMock(); cy.login(); - }) }); afterEach(() => { |