diff --git a/tests/cypress/integration/actions_tasks/task_changes_status_after_initial_save.js b/tests/cypress/integration/actions_tasks/task_changes_status_after_initial_save.js index 0e820eb8..0c2ce9a1 100644 --- a/tests/cypress/integration/actions_tasks/task_changes_status_after_initial_save.js +++ b/tests/cypress/integration/actions_tasks/task_changes_status_after_initial_save.js @@ -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');