diff --git a/mod/data/tests/behat/data_activity_completion.feature b/mod/data/tests/behat/data_activity_completion.feature index e8e9b460b82..23793030429 100644 --- a/mod/data/tests/behat/data_activity_completion.feature +++ b/mod/data/tests/behat/data_activity_completion.feature @@ -40,7 +40,7 @@ Feature: View activity completion in the database activity And I press "Save template" And I log out - Scenario: View automatic completion items as a teacher and confirm all tabs display conditions + Scenario: View automatic completion items as a teacher Given I am on the "Music history" "data activity" page logged in as teacher1 Then "Music history" should have the "View" completion condition And "Music history" should have the "Make entries: 2" completion condition @@ -49,29 +49,6 @@ Feature: View activity completion in the database activity And "Music history" should have the "View" completion condition And "Music history" should have the "Make entries: 2" completion condition And "Music history" should have the "Receive a grade" completion condition - And I press "Add entry" - And "Music history" should have the "View" completion condition - And "Music history" should have the "Make entries: 2" completion condition - And "Music history" should have the "Receive a grade" completion condition - And I set the following fields to these values: - | Instrument types | Hurdygurdy | - And I press "Save" - And I press "Export entries" - And "Music history" should have the "View" completion condition - And "Music history" should have the "Make entries: 2" completion condition - And "Music history" should have the "Receive a grade" completion condition - And I navigate to "Templates" in current page administration - And "Music history" should have the "View" completion condition - And "Music history" should have the "Make entries: 2" completion condition - And "Music history" should have the "Receive a grade" completion condition - And I navigate to "Fields" in current page administration - And "Music history" should have the "View" completion condition - And "Music history" should have the "Make entries: 2" completion condition - And "Music history" should have the "Receive a grade" completion condition - And I navigate to "Presets" in current page administration - And "Music history" should have the "View" completion condition - And "Music history" should have the "Make entries: 2" completion condition - And "Music history" should have the "Receive a grade" completion condition Scenario: View automatic completion items as a student Given I am on the "Music history" "data activity" page logged in as student1 diff --git a/mod/data/tests/behat/data_activity_completion_pass_grade.feature b/mod/data/tests/behat/data_activity_completion_pass_grade.feature index 3956949b507..8db9772c23a 100644 --- a/mod/data/tests/behat/data_activity_completion_pass_grade.feature +++ b/mod/data/tests/behat/data_activity_completion_pass_grade.feature @@ -54,7 +54,7 @@ Feature: Completion pass grade And I press "Save template" And I log out - Scenario: View automatic completion items as a teacher and confirm all tabs display conditions + Scenario: View automatic completion items as a teacher Given I log in as "teacher1" And I am on "Course 1" course homepage When I follow "Music history" @@ -67,34 +67,6 @@ Feature: Completion pass grade And "Music history" should have the "Make entries: 2" completion condition And "Music history" should have the "Receive a grade" completion condition And "Music history" should have the "Receive a passing grade" completion condition - And I press "Add entry" - And "Music history" should have the "View" completion condition - And "Music history" should have the "Make entries: 2" completion condition - And "Music history" should have the "Receive a grade" completion condition - And "Music history" should have the "Receive a passing grade" completion condition - And I set the following fields to these values: - | Instrument types | Hurdygurdy | - And I press "Save" - And I press "Export entries" - And "Music history" should have the "View" completion condition - And "Music history" should have the "Make entries: 2" completion condition - And "Music history" should have the "Receive a grade" completion condition - And "Music history" should have the "Receive a passing grade" completion condition - And I navigate to "Templates" in current page administration - And "Music history" should have the "View" completion condition - And "Music history" should have the "Make entries: 2" completion condition - And "Music history" should have the "Receive a grade" completion condition - And "Music history" should have the "Receive a passing grade" completion condition - And I navigate to "Fields" in current page administration - And "Music history" should have the "View" completion condition - And "Music history" should have the "Make entries: 2" completion condition - And "Music history" should have the "Receive a grade" completion condition - And "Music history" should have the "Receive a passing grade" completion condition - And I navigate to "Presets" in current page administration - And "Music history" should have the "View" completion condition - And "Music history" should have the "Make entries: 2" completion condition - And "Music history" should have the "Receive a grade" completion condition - And "Music history" should have the "Receive a passing grade" completion condition @javascript Scenario: View automatic completion items as a failing student