update: background user token persistance
This commit is contained in:
@ -12,6 +12,7 @@ context('Create Channel Browser Testing', () => {
|
||||
cy.clearLocalStorage({ domain: null });
|
||||
cy.clearCookies({ domain: null });
|
||||
});
|
||||
beforeEach(() => cy.setToken());
|
||||
it('should visit user login screen', () => cy.userLogin());
|
||||
describe('Channel Creation process', () => {
|
||||
it('should login', () => cy.login());
|
||||
|
@ -16,6 +16,7 @@ context('Create Job Offer Browser Testing', () => {
|
||||
cy.clearLocalStorage({ domain: null });
|
||||
cy.clearCookies({ domain: null });
|
||||
});
|
||||
beforeEach(() => cy.setToken());
|
||||
it('should visit user login screen', () => cy.userLogin());
|
||||
describe('Job Offer Creation process', () => {
|
||||
it('should login', () => cy.login());
|
||||
|
@ -14,6 +14,7 @@ context('Create Project Browser Testing', () => {
|
||||
cy.clearLocalStorage({ domain: null });
|
||||
cy.clearCookies({ domain: null });
|
||||
});
|
||||
beforeEach(() => cy.setToken());
|
||||
it('should visit user login screen', () => cy.userLogin());
|
||||
describe('Project Creation process', () => {
|
||||
it('should login', () => cy.login());
|
||||
|
@ -16,6 +16,7 @@ context('Create User Browser Testing', () => {
|
||||
cy.clearLocalStorage({ domain: null });
|
||||
cy.clearCookies({ domain: null });
|
||||
});
|
||||
beforeEach(() => cy.setToken());
|
||||
it('should visit user login screen', () => cy.userLogin());
|
||||
describe('User Creation process', () => {
|
||||
it('should login', () => cy.login());
|
||||
|
@ -17,6 +17,7 @@ context('Edit Channel Browser Testing', () => {
|
||||
cy.clearLocalStorage({ domain: null });
|
||||
cy.clearCookies({ domain: null });
|
||||
});
|
||||
beforeEach(() => cy.setToken());
|
||||
it('should visit user login screen', () => cy.userLogin());
|
||||
describe('Channel Edition process', () => {
|
||||
it('should login', () => cy.login());
|
||||
|
@ -20,6 +20,7 @@ context('Edit Job Offer Browser Testing', () => {
|
||||
cy.clearLocalStorage({ domain: null });
|
||||
cy.clearCookies({ domain: null });
|
||||
});
|
||||
beforeEach(() => cy.setToken());
|
||||
it('should visit user login screen', () => cy.userLogin());
|
||||
describe('Job Offer Edition process', () => {
|
||||
it('should login', () => cy.login());
|
||||
|
@ -19,6 +19,7 @@ context('Edit Project Browser Testing', () => {
|
||||
cy.clearLocalStorage({ domain: null });
|
||||
cy.clearCookies({ domain: null });
|
||||
});
|
||||
beforeEach(() => cy.setToken());
|
||||
it('should visit user login screen', () => cy.userLogin());
|
||||
describe('Project Edition process', () => {
|
||||
it('should login', () => cy.login());
|
||||
|
@ -11,6 +11,7 @@ context('Retire Project Browser Testing', () => {
|
||||
cy.clearLocalStorage({ domain: null });
|
||||
cy.clearCookies({ domain: null });
|
||||
});
|
||||
beforeEach(() => cy.setToken());
|
||||
it('should visit user login screend', () => cy.userLogin());
|
||||
describe('Project Retirement process', () => {
|
||||
it('should login', () => cy.login());
|
||||
|
Reference in New Issue
Block a user