diff --git a/tests/behat/activate_workflow.feature b/tests/behat/activate_workflow.feature index 0c24020390847dfcb1821b1c30f60401b08bd79e..a0cd3c6b929303ae038d48003fc81803b2163efa 100644 --- a/tests/behat/activate_workflow.feature +++ b/tests/behat/activate_workflow.feature @@ -4,7 +4,7 @@ Feature: Add a workflow definition activate it Scenario: Add a new workflow definition with steps and rearrange Given I log in as "admin" - And I navigate to "Life Cycle > Workflow Settings" in site administration + And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration And I press "Add Workflow" And I set the following fields to these values: | Title | My Workflow | diff --git a/tests/behat/add_workflow.feature b/tests/behat/add_workflow.feature index 1c671bb18f5a079538ba365e1bc22e99ea5704b5..6673861e8ee02dffd997d75a7dfed35e7199af28 100644 --- a/tests/behat/add_workflow.feature +++ b/tests/behat/add_workflow.feature @@ -5,7 +5,7 @@ Feature: Add a workflow definition Scenario: Add a new workflow definition without steps For displaying the additional trigger settings the "Save changes" button is used. Given I log in as "admin" - And I navigate to "Life Cycle > Workflow Settings" in site administration + And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration And I press "Add Workflow" And I set the following fields to these values: | Title | My Workflow | @@ -33,7 +33,7 @@ Feature: Add a workflow definition Scenario: Add a new workflow definition with steps For displaying the additional trigger settings the "reload" button is used. Given I log in as "admin" - And I navigate to "Life Cycle > Workflow Settings" in site administration + And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration And I press "Add Workflow" And I set the following fields to these values: | Title | My Workflow | @@ -56,7 +56,7 @@ Feature: Add a workflow definition Scenario: Add a new workflow definition and alter trigger Given I log in as "admin" - And I navigate to "Life Cycle > Workflow Settings" in site administration + And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration And I press "Add Workflow" And I set the following fields to these values: | Title | My Workflow | @@ -89,7 +89,7 @@ Feature: Add a workflow definition Scenario: Add a new workflow definition with steps and rearange Given I log in as "admin" - And I navigate to "Life Cycle > Workflow Settings" in site administration + And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration And I press "Add Workflow" And I set the following fields to these values: | Title | My Workflow | diff --git a/tests/behat/disable_workflow.feature b/tests/behat/disable_workflow.feature index 77fc94336bd00cf26691520c8f833bee03186080..2ee7b3c88d8cb6af02e4de69f4de5c8d2deed042 100644 --- a/tests/behat/disable_workflow.feature +++ b/tests/behat/disable_workflow.feature @@ -7,7 +7,7 @@ Feature: Disable a workflow | fullname | shortname | category | startdate | | Course 1 | C1 | 0 | ##4 days ago## | And I log in as "admin" - And I navigate to "Life Cycle > Workflow Settings" in site administration + And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration And I press "Add Workflow" And I set the following fields to these values: | Title | My Workflow | @@ -39,7 +39,7 @@ Feature: Disable a workflow Scenario: Disable an workflow, keep processes running, then abort all processes and delete workflow Given I log in as "admin" - And I navigate to "Life Cycle > Workflow Settings" in site administration + And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration Then I should see the row "My Workflow" in the "tool_lifecycle_active_automatic_workflows" table And I should see the tool "Disable Workflow (processes keep running)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table When I click on the tool "Disable Workflow (processes keep running)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table @@ -56,7 +56,7 @@ Feature: Disable a workflow Scenario: Disable an workflow and kill processes (abort), then delete workflow Given I log in as "admin" - And I navigate to "Life Cycle > Workflow Settings" in site administration + And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration Then I should see the row "My Workflow" in the "tool_lifecycle_active_automatic_workflows" table And I should see the tool "Disable Workflow (abort processes, maybe unsafe!)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table When I click on the tool "Disable Workflow (abort processes, maybe unsafe!)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table @@ -68,7 +68,7 @@ Feature: Disable a workflow Scenario: Disable an workflow then create (duplicate) a new one with the same configuration Given I log in as "admin" - And I navigate to "Life Cycle > Workflow Settings" in site administration + And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration Then I should see the row "My Workflow" in the "tool_lifecycle_active_automatic_workflows" table When I click on the tool "Disable Workflow (processes keep running)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table When I click on the tool "Duplicate Workflow" in the "My Workflow" row of the "tool_lifecycle_deactivated_workflows" table diff --git a/tests/behat/interaction.feature b/tests/behat/interaction.feature index 293792d682aa2d596ebb2e454edc33df7ec564a7..6c69741c20a17ca36d3f04098f93f70b9bf80125 100644 --- a/tests/behat/interaction.feature +++ b/tests/behat/interaction.feature @@ -16,7 +16,7 @@ Feature: Add a workflow with an email step and test the interaction as a teacher | teacher1 | C2 | editingteacher | | teacher1 | C3 | editingteacher | And I log in as "admin" - And I navigate to "Life Cycle > Workflow Settings" in site administration + And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration And I press "Add Workflow" And I set the following fields to these values: | Title | My Workflow | diff --git a/tests/behat/interaction_forms.feature b/tests/behat/interaction_forms.feature index 005c83ef99160c011688962b3b4869bdea37c3c8..131dadfa8a57d9a005f935a3adefe4c8c715f080 100644 --- a/tests/behat/interaction_forms.feature +++ b/tests/behat/interaction_forms.feature @@ -12,7 +12,7 @@ Feature: Add a workflow with a manual trigger and a duplicate step and test the | user | course | role | | teacher1 | C1 | editingteacher | And I log in as "admin" - And I navigate to "Life Cycle > Workflow Settings" in site administration + And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration And I press "Add Workflow" And I set the following fields to these values: | Title | My Workflow | diff --git a/tests/behat/manual_trigger.feature b/tests/behat/manual_trigger.feature index ebae3960d7ce820af104bfabe073e419a8a16081..da3da87ba863f78ca460ff989a15bd396b4496ed 100644 --- a/tests/behat/manual_trigger.feature +++ b/tests/behat/manual_trigger.feature @@ -24,7 +24,7 @@ Feature: Add a manual trigger and test view and actions as a teacher And I set the following system permissions of "Non-editing teacher" role: | capability | permission | | tool/lifecycle:managecourses | Allow | - And I navigate to "Life Cycle > Workflow Settings" in site administration + And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration And I press "Add Workflow" And I set the following fields to these values: | Title | My Workflow | @@ -52,7 +52,7 @@ Feature: Add a manual trigger and test view and actions as a teacher @javascript Scenario: Manually trigger backup and course deletion Given I log in as "admin" - And I navigate to "Life Cycle > Workflow Settings" in site administration + And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration And I press "Add Workflow" And I set the following fields to these values: | Title | My Workflow | @@ -88,6 +88,6 @@ Feature: Add a manual trigger and test view and actions as a teacher And I should see "Course 2" When I log out And I log in as "admin" - And I navigate to "Life Cycle > Course Backups" in site administration + And I navigate to "Plugins > Admin tools > Life Cycle > Course Backups" in site administration Then I should see "Course 1" And I should not see "Course 2" \ No newline at end of file