AutorÃa | Ultima modificación | Ver Log |
@javascript @theme_classicFeature: Add a block using classic themeIn order to check the blocks to display in the Add a block list for a themAs an administratorI need to confirm the unaddableblocks setting is empty for classic.Background:Given the following "courses" exist:| fullname | shortname || Course 1 | C1 |And I log in as "admin"Scenario: All the expected blocks are displayed in the Add a block list for classicGiven I am on "Course 1" course homepage with editing mode onWhen I click on "Add a block" "select"Then I should see "Administration"And I should see "Navigation"And I should see "Courses"And I should see "Section links"Scenario: Admins can change unaddable blocks using the unaddableblocks setting for classicGiven the following config values are set as admin:| unaddableblocks | online_users,private_files,settings | theme_classic|And I am on "Course 1" course homepage with editing mode onWhen I click on "Add a block" "select"Then I should not see "Online users"And I should not see "Private files"# The settings block is defined as required block for classic, so it will be displayed always.And I should see "Administration"And I should see "Navigation"And I should see "Courses"And I should see "Section links"