diff --git a/tests/cypress/integration/actions_tasks_objects/issue_2306_ui_not_throw_error_specify_one_point.js b/tests/cypress/integration/actions_tasks_objects/issue_2306_ui_not_throw_error_specify_one_point.js index 477d0e9043f..0cf8a928029 100644 --- a/tests/cypress/integration/actions_tasks_objects/issue_2306_ui_not_throw_error_specify_one_point.js +++ b/tests/cypress/integration/actions_tasks_objects/issue_2306_ui_not_throw_error_specify_one_point.js @@ -4,16 +4,14 @@ /// -import { taskName } from '../../support/const'; +import { taskName, labelName } from '../../support/const'; context('Draw a point shape, specify one point', () => { const issueId = '2306'; const createPointsShape = { type: 'Shape', - switchLabel: false, - pointsMap: [ - { x: 500, y: 200 }, - ], + labelName: labelName, + pointsMap: [{ x: 500, y: 200 }], numberOfPoints: 1, };