diff options
author | Amichai Hemli <amichai.hemli@intl.att.com> | 2019-10-29 14:37:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-10-29 14:37:48 +0000 |
commit | 8cb79d98ec8c9f2b2ec495eca11ca067dbc06acb (patch) | |
tree | ebc96d58fb45ed601d05ec292b1b4a277eb7a163 /vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts | |
parent | b0a5365842404f32667ba6cbda12853323624eaf (diff) | |
parent | 32dbf8017aeab06041992064feaf70953ef86e19 (diff) |
Merge "Introduce cy.clearSessionStorage"
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts')
-rw-r--r-- | vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts index 90dbcdd01..6abd6a3db 100644 --- a/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts +++ b/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts @@ -3,15 +3,13 @@ import {JsonBuilder} from '../../support/jsonBuilders/jsonBuilder'; import {AsyncInstantiationModel} from '../../support/jsonBuilders/models/asyncInstantiation.model'; -import {ServiceModel} from "../../support/jsonBuilders/models/service.model"; describe('Instantiation status', function () { var jsonBuilderInstantiationBuilder : JsonBuilder<AsyncInstantiationModel> = new JsonBuilder<AsyncInstantiationModel>(); var asyncRes: Array<any>; beforeEach(() => { - cy.window().then((win) => { - win.sessionStorage.clear(); + cy.clearSessionStorage(); cy.setReduxState(); cy.preventErrorsOnLoading(); cy.initAAIMock(); @@ -23,7 +21,6 @@ describe('Instantiation status', function () { return res; }); cy.login(); - }) }); afterEach(() => { |