aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/integration/iFrames/viewEditUpgradeVfModule.e2e.ts
diff options
context:
space:
mode:
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();