aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/integration
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2020-04-02 09:36:10 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-02 09:36:10 +0000
commit6c63f8516a7854ee09928a45930b2de097311cd3 (patch)
tree121a0186778170eb74408776aa68eb0f4486b9ca /vid-webpack-master/cypress/integration
parent92210925190803f5b4a698cf83de2fb75dbcb79d (diff)
parent88fcc332e4073b1c33c97d2a9cd81cb492f77481 (diff)
Merge "Improve clearSessionStorage timings"
Diffstat (limited to 'vid-webpack-master/cypress/integration')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/viewEditUpgradeVfModule.e2e.ts9
1 files changed, 5 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 027901f0f..ac36f6771 100644
--- a/vid-webpack-master/cypress/integration/iFrames/viewEditUpgradeVfModule.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/viewEditUpgradeVfModule.e2e.ts
@@ -134,10 +134,11 @@ describe('View Edit Page: Upgrade VFModule', function () {
describe('More UI test', () => {
beforeEach(() => {
- cy.clearSessionStorage();
- cy.setTestApiParamToGR();
- cy.initVidMock();
- cy.login();
+ cy.clearSessionStorage().then(() => {
+ cy.setTestApiParamToGR();
+ cy.initVidMock();
+ cy.login();
+ });
});
afterEach(() => {