MDL-83551 behat: make duplicated scenario names unique
This commit is contained in:
@@ -47,7 +47,7 @@ Feature: View activity completion in the database activity
|
||||
And I press "Save and display"
|
||||
And I log out
|
||||
|
||||
Scenario: View automatic completion items as a teacher
|
||||
Scenario: Database activity displays completion conditions to teachers
|
||||
# We add an entry to let the user change to a different view.
|
||||
Given the following "mod_data > entries" exist:
|
||||
| database | user | Instrument types |
|
||||
@@ -61,7 +61,7 @@ Feature: View activity completion in the database activity
|
||||
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
|
||||
Scenario: A student can complete an database activity by achieving a passing grade
|
||||
Given I am on the "Music history" "data activity" page logged in as student1
|
||||
And the "View" completion condition of "Music history" is displayed as "done"
|
||||
And the "Make entries: 2" completion condition of "Music history" is displayed as "todo"
|
||||
|
||||
@@ -46,7 +46,7 @@ Feature: Completion pass grade
|
||||
And I log out
|
||||
|
||||
@javascript
|
||||
Scenario: View automatic completion items as a teacher
|
||||
Scenario: Database module completion conditions are displayed regardless of the view
|
||||
# We add an entry to let the user change to a different view.
|
||||
Given the following "mod_data > entries" exist:
|
||||
| database | user | Instrument types |
|
||||
@@ -63,7 +63,7 @@ Feature: Completion pass grade
|
||||
And "Music history" should have the "Receive a passing grade" completion condition
|
||||
|
||||
@javascript
|
||||
Scenario: View automatic completion items as a failing student
|
||||
Scenario: Student cannot complete a database activity if one of the conditions are not met
|
||||
Given I am on the "Music history" "data activity" page logged in as student1
|
||||
And the "View" completion condition of "Music history" is displayed as "done"
|
||||
And the "Make entries: 2" completion condition of "Music history" is displayed as "todo"
|
||||
@@ -102,7 +102,7 @@ Feature: Completion pass grade
|
||||
And "Vinnie Student1" user has completed "Music history" activity
|
||||
|
||||
@javascript
|
||||
Scenario: View automatic completion items as a passing student
|
||||
Scenario: Student can complete a database activity when all conditions are met
|
||||
Given I am on the "Music history" "data activity" page logged in as student1
|
||||
And the "View" completion condition of "Music history" is displayed as "done"
|
||||
And the "Make entries: 2" completion condition of "Music history" is displayed as "todo"
|
||||
|
||||
Reference in New Issue
Block a user