summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/integration/iFrames/viewEditUpgradeVfModule.e2e.ts
diff options
context:
space:
mode:
authorAmichai Hemli <amichai.hemli@intl.att.com>2019-10-29 14:37:48 +0000
committerGerrit Code Review <gerrit@onap.org>2019-10-29 14:37:48 +0000
commit8cb79d98ec8c9f2b2ec495eca11ca067dbc06acb (patch)
treeebc96d58fb45ed601d05ec292b1b4a277eb7a163 /vid-webpack-master/cypress/integration/iFrames/viewEditUpgradeVfModule.e2e.ts
parentb0a5365842404f32667ba6cbda12853323624eaf (diff)
parent32dbf8017aeab06041992064feaf70953ef86e19 (diff)
Merge "Introduce cy.clearSessionStorage"
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/viewEditUpgradeVfModule.e2e.ts')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/viewEditUpgradeVfModule.e2e.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/viewEditUpgradeVfModule.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/viewEditUpgradeVfModule.e2e.ts
index 0d94e600c..f111189fc 100644
--- a/vid-webpack-master/cypress/integration/iFrames/viewEditUpgradeVfModule.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/viewEditUpgradeVfModule.e2e.ts
@@ -47,9 +47,7 @@ describe('View Edit Page: Upgrade VFModule', function () {
let jsonBuilderAaiServiceInstances: JsonBuilder<AaiServiceInstancesModel> = new JsonBuilder<AaiServiceInstancesModel>();
beforeEach(() => {
- cy.window().then((win) => {
- win.sessionStorage.clear();
- });
+ cy.clearSessionStorage();
cy.readFile('cypress/support/jsonBuilders/mocks/jsons/basicService.json').then((res) => {
jsonBuilderAAIService.basicJson(
res,
@@ -130,7 +128,7 @@ describe('View Edit Page: Upgrade VFModule', function () {
describe('More UI tests', () => {
beforeEach(() => {
- cy.window().then((win) => {win.sessionStorage.clear();});
+ cy.clearSessionStorage();
cy.setTestApiParamToVNF();
cy.initVidMock();
cy.login();