File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
src/core/features/course/tests/behat Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -290,3 +290,14 @@ Feature: Test disabled text is shown when opening a disabled activity.
290
290
Then the header should be "Test workshop name" in the app
291
291
And I should find "Test workshop description" in the app
292
292
And I should find "This content is not available in the app" in the app
293
+
294
+ Scenario : View activity info download button
295
+ Given the following "activities" exist:
296
+ | activity | course | name | intro | content | showdescription |
297
+ | page | C1 | Test page name | Test page description | CONTENT | 1 |
298
+ And the following config values are set as admin:
299
+ | disabledfeatures | NoDelegate_CoreOffline | tool_mobile |
300
+ When I entered the course "Course 1" as "student1" in the app
301
+ And I press "Test page name" in the app
302
+ And I press "Information" "ion-button" in the app
303
+ Then I should not find "Download" in the app
You can’t perform that action at this time.
0 commit comments