diff options
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts')
-rw-r--r-- | vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts index ff43936a2..b3ef7f032 100644 --- a/vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts +++ b/vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts @@ -8,15 +8,13 @@ describe('Browse SDC', function () { beforeEach(() => { - cy.window().then((win) => { - win.sessionStorage.clear(); + cy.clearSessionStorage(); cy.preventErrorsOnLoading(); cy.initAAIMock(); cy.initVidMock(); cy.initZones(); cy.login(); cy.visit("welcome.htm") - }); }); afterEach(() => { |