diff --git a/tests/behat/add_workflow.feature b/tests/behat/add_workflow.feature index 995d195f5c3dc1df9acc5a85873d35530d474be1..1c671bb18f5a079538ba365e1bc22e99ea5704b5 100644 --- a/tests/behat/add_workflow.feature +++ b/tests/behat/add_workflow.feature @@ -1,6 +1,7 @@ @tool @tool_lifecycle Feature: Add a workflow definition + @javascript 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" diff --git a/tests/behat/interaction_forms.feature b/tests/behat/interaction_forms.feature index e800be2e7271e8b9e45b80b562eb0aace7b738ef..005c83ef99160c011688962b3b4869bdea37c3c8 100644 --- a/tests/behat/interaction_forms.feature +++ b/tests/behat/interaction_forms.feature @@ -1,4 +1,4 @@ -@tool @tool_lifecycle +@tool @tool_lifecycle @javascript Feature: Add a workflow with a manual trigger and a duplicate step and test the interaction as a teacher Background: diff --git a/tests/behat/manual_trigger.feature b/tests/behat/manual_trigger.feature index 9fd041edd14c5c4843ba2ffaa9a275819e3793b9..ebae3960d7ce820af104bfabe073e419a8a16081 100644 --- a/tests/behat/manual_trigger.feature +++ b/tests/behat/manual_trigger.feature @@ -16,6 +16,7 @@ Feature: Add a manual trigger and test view and actions as a teacher | teacher1 | C2 | editingteacher | | teacher1 | C3 | teacher | + @javascript Scenario: Test displayed action tools for different capabilities Given I log in as "admin" # Allow teacher role to view courses in life cycle view @@ -48,6 +49,7 @@ Feature: Add a manual trigger and test view and actions as a teacher And I should see the tool "Delete course" in the "Course 2" row of the "tool_lifecycle_remaining" table And I should not see the tool "Delete course" in the "Course 3" row of the "tool_lifecycle_remaining" table + @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