aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/integration/iFrames/vnfGroups.e2e.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/vnfGroups.e2e.ts')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/vnfGroups.e2e.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/vnfGroups.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/vnfGroups.e2e.ts
index cd21f4e54..dc1b4bbf2 100644
--- a/vid-webpack-master/cypress/integration/iFrames/vnfGroups.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/vnfGroups.e2e.ts
@@ -6,8 +6,7 @@ describe('Vnf Groups', function () {
var jsonBuilderAndMock: JsonBuilder<ServiceModel> = new JsonBuilder<ServiceModel>();
beforeEach(() => {
- cy.window().then((win) => {
- win.sessionStorage.clear();
+ cy.clearSessionStorage();
cy.setReduxState();
cy.preventErrorsOnLoading();
cy.initAAIMock();
@@ -15,7 +14,6 @@ describe('Vnf Groups', function () {
cy.permissionVidMock();
cy.setTestApiParamToVNF();
cy.login();
- });
});
afterEach(() => {