Merge branch 'MDL-72917-master-fix' of https://github.com/sarjona/moodle

This commit is contained in:
Ilya Tregubov 2021-11-30 14:49:32 +02:00
commit 44ea326a7d

View File

@ -25,13 +25,13 @@ Feature: Display and choose from the available activities in course
And I should see "Assignment" in the ".modal-body" "css_element"
Scenario: The teacher can choose to add an activity from the activity items in the activity chooser
Given I click on "Add an activity or resource" "button" in the "Topic 3" "section"
Given I click on "Add an activity or resource" "button" in the "Topic 4" "section"
When I click on "Add a new Assignment" "link" in the "Add an activity or resource" "dialogue"
Then I should see "Adding a new Assignment"
And I set the following fields to these values:
| Assignment name | Test Assignment Topic 3 |
| Assignment name | Test Assignment Topic 4 |
And I press "Save and return to course"
Then I should see "Test Assignment Topic 3" in the "Topic 3" "section"
Then I should see "Test Assignment Topic 4" in the "Topic 4" "section"
Scenario: The teacher can choose to add an activity from the activity summary in the activity chooser
Given I click on "Add an activity or resource" "button" in the "Topic 1" "section"