未验证 提交 c266a942 编写于 作者: K Kirill Lakhov 提交者: GitHub

Improved stability of actions_tasks/task_changes_after_initial_save.js (#39)

上级 cb896eca
......@@ -50,10 +50,15 @@ context('Delete a label from a task.', () => {
});
it('Create object, save annotation, state should be "in progress"', () => {
cy.intercept('GET', /\/api\/users.*/).as('searchUsers');
cy.openJob();
cy.createRectangle(rectangleData);
cy.saveJob();
cy.interactMenu('Open the task');
cy.wait('@searchUsers');
cy.get('.cvat-task-jobs-table-row').each(() => {
cy.wait('@searchUsers');
});
cy.reload();
cy.closeModalUnsupportedPlatform(); // If the Firefox browser closes the modal window after reload
cy.get('td.cvat-job-item-state').invoke('text').should('equal', 'in progress');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册