MDL-81337 behat: use new step to open add activity dialogue

This commit is contained in:
Simey Lameze 2024-04-09 09:05:01 +08:00
parent b3ef3ecb8d
commit 27b14a64b5

View File

@ -38,6 +38,6 @@ Feature: Restrict activities availability
And I log out
And I log in as "teacher1"
When I am on "Course 1" course homepage with editing mode on
And I press "Add an activity or resource"
And I click on "Add an activity or resource" "button" in the "New section" "section"
Then "Add a new Assignment" "link" should not exist in the "Add an activity or resource" "dialogue"
Then "Add a new Glossary" "link" should not exist in the "Add an activity or resource" "dialogue"