summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/integration/iFrames/vrf.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/vrf.e2e.ts
parentb0a5365842404f32667ba6cbda12853323624eaf (diff)
parent32dbf8017aeab06041992064feaf70953ef86e19 (diff)
Merge "Introduce cy.clearSessionStorage"
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/vrf.e2e.ts')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/vrf.e2e.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/vrf.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/vrf.e2e.ts
index 717d3a927..6700ff425 100644
--- a/vid-webpack-master/cypress/integration/iFrames/vrf.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/vrf.e2e.ts
@@ -6,8 +6,7 @@ describe('Drawing board : VRF', function () {
var jsonBuilderAndMock: JsonBuilder<ServiceModel> = new JsonBuilder<ServiceModel>();
beforeEach(() => {
- cy.window().then((win) => {
- win.sessionStorage.clear();
+ cy.clearSessionStorage();
cy.setReduxState();
cy.preventErrorsOnLoading();
cy.initAAIMock();
@@ -22,7 +21,6 @@ describe('Drawing board : VRF', function () {
status: 200,
response: "[]",
}).as("expectedPostAsyncInstantiation");
- });
});
afterEach(() => {