Skip to content

Commit

Permalink
Fix unstable test with set job assignee (cvat-ai#6730)
Browse files Browse the repository at this point in the history
  • Loading branch information
klakhov authored and jonybekov committed Sep 6, 2023
1 parent 419da18 commit af8535a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,11 @@ context('Multiple users. Assign task, job. Deactivating users.', () => {
cy.logout();
});

it('Second user login. The task can be opened. Logout', () => {
it('Second user login. The task can be opened. Remove job assignee. Logout', () => {
cy.login(secondUserName, secondUser.password);
cy.contains('strong', taskName).should('exist');
cy.openTask(taskName);
cy.assignJobToUser(0, null);
cy.logout();
});

Expand All @@ -141,7 +142,6 @@ context('Multiple users. Assign task, job. Deactivating users.', () => {
it('First user login and assign the job to the third user. Logout', () => {
cy.login();
cy.openTask(taskName);
cy.assignJobToUser(0, null);
cy.assignJobToUser(0, thirdUserName);
cy.logout();
});
Expand Down

0 comments on commit af8535a

Please sign in to comment.