apply comments

main
Dmitriy Oparin 5 years ago
parent ace75ca96d
commit 02ea1881a7

@ -43,13 +43,14 @@ context('Check error сannot read property at saving job', () => {
}); });
it('Save job and go to previous frame at saving job', () => { it('Save job and go to previous frame at saving job', () => {
cy.server().route('PATCH', '/api/v1/jobs/**').as('saveJob');
cy.saveJob(); cy.saveJob();
cy.get('body').type('d'); cy.get('body').type('d');
cy.wait('@saveJob').its('status').should('equal', 200);
}); });
it('Page with the error is missing', () => { it('Page with the error is missing', () => {
cy.wait(100); cy.get('.cvat-global-boundary').should('not.exist');
cy.contains('Oops, something went wrong').should('not.exist');
}); });
}); });
}); });

Loading…
Cancel
Save