diff options
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/vnf.update.e2e.ts')
-rw-r--r-- | vid-webpack-master/cypress/integration/iFrames/vnf.update.e2e.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/vnf.update.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/vnf.update.e2e.ts index 7c942ea54..a314424f3 100644 --- a/vid-webpack-master/cypress/integration/iFrames/vnf.update.e2e.ts +++ b/vid-webpack-master/cypress/integration/iFrames/vnf.update.e2e.ts @@ -9,15 +9,13 @@ describe('Delete vnf instance', function () { let jsonBuilderInstantiationBuilder: JsonBuilder<AsyncInstantiationModel> = new JsonBuilder<AsyncInstantiationModel>(); beforeEach(() => { - cy.window().then((win) => { - win.sessionStorage.clear(); + cy.clearSessionStorage(); cy.preventErrorsOnLoading(); cy.initAAIMock(); cy.initVidMock(); cy.initZones(); cy.permissionVidMock(); cy.login(); - }); }); afterEach(() => { |