diff --git a/scripts/functional-tests/resources/machines_test.sah b/scripts/functional-tests/resources/machines_test.sah index 24b9fe544..4a675c77d 100644 --- a/scripts/functional-tests/resources/machines_test.sah +++ b/scripts/functional-tests/resources/machines_test.sah @@ -133,7 +133,9 @@ function machineAssignProjectForm($machine){ _click(_cell($machine)); _click(_cell("Add")); _setValue(_textbox(0, _near(_span("Sum of all rows"))), "1"); - _click(_cell("z-button-cm[39]")); + _click(_cell("z-button-cm[40]")); + _assertExists(_div("box standard-task assigned")); + _log("Task assigned", "custom1"); _click(_image("ico_save.png")); _click(_cell("OK")); } diff --git a/scripts/functional-tests/resources/virtual_worker_test.sah b/scripts/functional-tests/resources/virtual_worker_test.sah index a1be619ee..7c0aa67e8 100644 --- a/scripts/functional-tests/resources/virtual_worker_test.sah +++ b/scripts/functional-tests/resources/virtual_worker_test.sah @@ -137,7 +137,9 @@ function virtualWorkerAssignProjectForm($workerName){ _click(_div($workerName)); _click(_cell($workerName)); _click(_cell("Add")); - _click(_cell("z-button-cm[39]")); + _click(_cell("z-button-cm[40]")); + _assertExists(_div("box standard-task assigned")); + _log("Task assigned", "custom1"); _click(_image("ico_save.png")); _click(_cell("OK")); } diff --git a/scripts/functional-tests/resources/worker_test.sah b/scripts/functional-tests/resources/worker_test.sah index e54b9baa3..9fa5ffc7b 100644 --- a/scripts/functional-tests/resources/worker_test.sah +++ b/scripts/functional-tests/resources/worker_test.sah @@ -149,7 +149,9 @@ function workerAssignProjectForm($workerName, $workerSurName){ _click(_div($workerSurName+", "+$workerName)); _click(_cell($workerSurName+", "+$workerName)); _click(_cell("Add")); - _click(_cell("z-button-cm[39]")); + _click(_cell("z-button-cm[40]")); + _assertExists(_div("box standard-task assigned")); + _log("Task assigned", "custom1"); _click(_image("ico_save.png")); _click(_cell("OK")); }