diff options
Diffstat (limited to 'vid-webpack-master/cypress/integration/shared/error.message.popup.e2e.ts')
-rw-r--r-- | vid-webpack-master/cypress/integration/shared/error.message.popup.e2e.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/vid-webpack-master/cypress/integration/shared/error.message.popup.e2e.ts b/vid-webpack-master/cypress/integration/shared/error.message.popup.e2e.ts index 55f90cc69..6bbbd7aab 100644 --- a/vid-webpack-master/cypress/integration/shared/error.message.popup.e2e.ts +++ b/vid-webpack-master/cypress/integration/shared/error.message.popup.e2e.ts @@ -1,21 +1,19 @@ ///<reference path="../../../node_modules/cypress/types/index.d.ts"/> /// <reference types="Cypress" /> -import { JsonBuilder } from '../../support/jsonBuilders/jsonBuilder'; -import { AsyncInstantiationModel } from '../../support/jsonBuilders/models/asyncInstantiation.model'; +import {JsonBuilder} from '../../support/jsonBuilders/jsonBuilder'; +import {AsyncInstantiationModel} from '../../support/jsonBuilders/models/asyncInstantiation.model'; describe('Error message popup', function () { describe('show error on status 500', () => { var jsonBuilderInstantiationBuilder : JsonBuilder<AsyncInstantiationModel> = new JsonBuilder<AsyncInstantiationModel>(); beforeEach(() => { - cy.window().then((win) => { - win.sessionStorage.clear(); + cy.clearSessionStorage(); cy.setReduxState(); cy.preventErrorsOnLoading(); cy.initAAIMock(); cy.initVidMock(); cy.login(); - }) }); afterEach(() => { |