diff options
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/permission.e2e.ts')
-rw-r--r-- | vid-webpack-master/cypress/integration/iFrames/permission.e2e.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/permission.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/permission.e2e.ts index f14bc1b5b..22460a04f 100644 --- a/vid-webpack-master/cypress/integration/iFrames/permission.e2e.ts +++ b/vid-webpack-master/cypress/integration/iFrames/permission.e2e.ts @@ -6,15 +6,11 @@ describe('Permissions ', ()=> { var jsonBuilderAndMock: JsonBuilder<ServiceModel> = new JsonBuilder<ServiceModel>(); beforeEach(() => { - cy.window().then((win) => { - win.sessionStorage.clear(); + cy.clearSessionStorage(); cy.preventErrorsOnLoading(); cy.initAAIMock(); cy.initVidMock(); cy.login(); - - - }); }); afterEach(() => { |