From d478f72f3e6a890aa4b57ab9cd004c52a0ea726a Mon Sep 17 00:00:00 2001 From: Dmitry Kruchinin <33020454+dvkruchinin@users.noreply.github.com> Date: Tue, 26 Jan 2021 13:51:45 +0300 Subject: [PATCH] Fix cypress test. (#2719) --- .../case_42_change_label_name_via_label_constructor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cypress/integration/actions_tasks_objects/case_42_change_label_name_via_label_constructor.js b/tests/cypress/integration/actions_tasks_objects/case_42_change_label_name_via_label_constructor.js index 13dbf1406f8d..3f26bfe5b384 100644 --- a/tests/cypress/integration/actions_tasks_objects/case_42_change_label_name_via_label_constructor.js +++ b/tests/cypress/integration/actions_tasks_objects/case_42_change_label_name_via_label_constructor.js @@ -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); });