diff options
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/drawingBoard.e2e.ts')
-rw-r--r-- | vid-webpack-master/cypress/integration/iFrames/drawingBoard.e2e.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/drawingBoard.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/drawingBoard.e2e.ts index a9cddfcbc..e379f7835 100644 --- a/vid-webpack-master/cypress/integration/iFrames/drawingBoard.e2e.ts +++ b/vid-webpack-master/cypress/integration/iFrames/drawingBoard.e2e.ts @@ -4,15 +4,13 @@ import {ServiceModel} from "../../support/jsonBuilders/models/service.model"; describe('Drawing board', function () { beforeEach(() => { - cy.window().then((win) => { - win.sessionStorage.clear(); + cy.clearSessionStorage(); cy.setReduxState(); cy.preventErrorsOnLoading(); cy.initAAIMock(); cy.initVidMock(); cy.initActiveNetworks(); cy.login(); - }); }); afterEach(() => { |