update: wrapping up and final adjustments to completed test flows
This commit is contained in:
@ -24,10 +24,10 @@ context('Edit Job Offer Browser Testing', () => {
|
||||
beforeEach(() => cy.restoreLocalStorage());
|
||||
afterEach(() => cy.saveLocalStorage());
|
||||
it('should visit user login screen', () => cy.userLogin());
|
||||
it('should login', () => cy.login());
|
||||
describe('Job Offer Edition process', () => {
|
||||
it('should login', () => cy.login());
|
||||
it('should visit the job offers list screen', () => cy.naviagte('/job-offers'));
|
||||
it('should visit the last project edit screen', () => {
|
||||
it('should visit the last job offer edit screen', () => {
|
||||
cy.get(menuQuery.join(' '))
|
||||
.invoke('attr', 'data-src')
|
||||
.then(url => cy.encodeUrl(url).then(id => {
|
||||
@ -50,7 +50,7 @@ context('Edit Job Offer Browser Testing', () => {
|
||||
expect(loc.pathname).to.eq('/job-offers');
|
||||
});
|
||||
});
|
||||
it('should show edited project data on project information screen', () => {
|
||||
it('should show edited job offer data on job offer information screen', () => {
|
||||
cy.contains('solid-display-value[name="title"]', jobTitle).should("exist");
|
||||
cy.contains('solid-display-value[name="description"]', description).should("exist");
|
||||
});
|
||||
|
Reference in New Issue
Block a user