MDL-68661 core_lang: Roll back addresourceoractivity

This commit is contained in:
Mathew May 2020-05-18 13:25:45 +08:00
parent e146a2ca74
commit 7f86455237
5 changed files with 58 additions and 58 deletions

View file

@ -18,9 +18,9 @@ Feature: As a user, "Course preferences" allows me to set my course preference(s
Given the field "enableactivitychooser" matches value "1"
# See that the "activity chooser" is actually shown by default in course page.
When I am on "Course 1" course homepage
And I should not see "Add an activity" in the "Topic 1" "section"
And I should not see "Add an activity or resource" in the "Topic 1" "section"
And I turn editing mode on
Then I should see "Add an activity" in the "Topic 1" "section"
Then I should see "Add an activity or resource" in the "Topic 1" "section"
And I should not see "Add a resource..." in the "Topic 1" "section"
@javascript