diff options
author | Eylon Malin <eylon.malin@intl.att.com> | 2020-04-02 09:36:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-04-02 09:36:10 +0000 |
commit | 6c63f8516a7854ee09928a45930b2de097311cd3 (patch) | |
tree | 121a0186778170eb74408776aa68eb0f4486b9ca /vid-webpack-master/cypress/support | |
parent | 92210925190803f5b4a698cf83de2fb75dbcb79d (diff) | |
parent | 88fcc332e4073b1c33c97d2a9cd81cb492f77481 (diff) |
Merge "Improve clearSessionStorage timings"
Diffstat (limited to 'vid-webpack-master/cypress/support')
-rw-r--r-- | vid-webpack-master/cypress/support/application/application.session.actions.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vid-webpack-master/cypress/support/application/application.session.actions.ts b/vid-webpack-master/cypress/support/application/application.session.actions.ts index 9126ae1a4..99d5d867a 100644 --- a/vid-webpack-master/cypress/support/application/application.session.actions.ts +++ b/vid-webpack-master/cypress/support/application/application.session.actions.ts @@ -25,8 +25,8 @@ function getReduxState(): Chainable<any> { }); } -function clearSessionStorage() : void { - cy.window().then((win) => { +function clearSessionStorage() : Cypress.Chainable<any> { + return cy.window().then((win) => { win.sessionStorage.clear(); }); } |