Skip to content

Commit

Permalink
Fix cypress test. (#2719)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvkruchinin authored Jan 26, 2021
1 parent 0561076 commit d478f72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ context('Changing a label name via label constructor.', () => {

it('Change label name to any other correct value. Press "Done" button. The label created.', () => {
cy.get('[placeholder="Label name"]').type(firstLabelName);
cy.contains('[type="submit"]', 'Done').click();
cy.contains('[type="submit"]', 'Done').click({ force: true });
cy.get('.cvat-constructor-viewer-item').should('exist').and('have.text', firstLabelName);
});

Expand Down

0 comments on commit d478f72

Please sign in to comment.