update: loccalStorage persistance using externallibrary
This commit is contained in:
@ -13,10 +13,12 @@ context('Create User Browser Testing', () => {
|
||||
username += num;
|
||||
email = username + '@testemail.com';
|
||||
});
|
||||
cy.clearLocalStorageSnapshot();
|
||||
cy.clearLocalStorage({ domain: null });
|
||||
cy.clearCookies({ domain: null });
|
||||
});
|
||||
beforeEach(() => cy.setToken());
|
||||
beforeEach(() => cy.restoreLocalStorage());
|
||||
afterEach(() => cy.saveLocalStorage());
|
||||
it('should visit user login screen', () => cy.userLogin());
|
||||
describe('User Creation process', () => {
|
||||
it('should login', () => cy.login());
|
||||
|
Reference in New Issue
Block a user