AutorÃa | Ultima modificación | Ver Log |
@javascript @theme_boostFeature: Add a block using boost themeIn order to decide the blocks to display in the Add a block list for a themeAs an administratorI need to define them using the unaddableblocks settingBackground:Given the following "courses" exist:| fullname | shortname || Course 1 | C1 |And I log in as "admin"Scenario: Default blocks defined in unaddableblocks settings are not displayed in the Add a block listGiven I am on "Course 1" course homepage with editing mode onWhen I click on "Add a block" "link"Then I should not see "Administration"And I should not see "Navigation"And I should not see "Courses"And I should not see "Section links"And I should see "Online users"Scenario: Admins can change unaddable blocks using the unaddableblocks settingGiven the following config values are set as admin:| unaddableblocks | settings,private_files | theme_boost|And I am on "Course 1" course homepage with editing mode onWhen I click on "Add a block" "link"Then I should not see "Administration"And I should not see "Private files"And I should see "Navigation"And I should see "Courses"And I should see "Section links"Scenario: If unaddableblocks settting is empty, no block is excluded from the Add a block listGiven the following config values are set as admin:| unaddableblocks | | theme_boost|And I am on "Course 1" course homepage with editing mode onWhen I click on "Add a block" "link"Then I should see "Administration"And I should see "Navigation"And I should see "Courses"And I should see "Section links"