update: loccalStorage persistance using externallibrary

This commit is contained in:
Jure Ursic
2020-07-08 15:41:05 +02:00
parent ff41638e2b
commit 9a6ea85bbb
13 changed files with 39 additions and 42 deletions

View File

@ -6,12 +6,14 @@ context('Retire Project Browser Testing', () => {
'solid-display.project-tab',
'solid-display:last-child',
'solid-display[order-by="customer.name"]'
];;
];
before(() => {
cy.clearLocalStorageSnapshot();
cy.clearLocalStorage({ domain: null });
cy.clearCookies({ domain: null });
});
beforeEach(() => cy.setToken());
beforeEach(() => cy.restoreLocalStorage());
afterEach(() => cy.saveLocalStorage());
it('should visit user login screend', () => cy.userLogin());
describe('Project Retirement process', () => {
it('should login', () => cy.login());