Introduce cy.clearSessionStorage

Issue-ID: VID-647

Change-Id: I51471f736577599c1ace8e330a4db089deccc8ca
Signed-off-by: Ittay Stern <ittay.stern@att.com>
diff --git a/vid-webpack-master/cypress/integration/iFrames/vrf.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/vrf.e2e.ts
index 717d3a9..6700ff4 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 @@
   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 @@
         status: 200,
         response: "[]",
       }).as("expectedPostAsyncInstantiation");
-    });
   });
 
   afterEach(() => {