1 @core @core_contentbank @contentbank_h5p @javascript
2 Feature: Store the content bank view preference
3 In order to consistantly view the content bank in icons or details view
5 I need to be able to store my view preference
8 Given the following "contentbank content" exist:
9 | contextlevel | reference | contenttype | user | contentname |
10 | System | | contenttype_h5p | admin | filltheblanks.h5p |
11 | System | | contenttype_h5p | admin | mathsbook.h5p |
13 Scenario: Admins can order content in the content bank
14 Given I log in as "admin"
15 And I am on site homepage
16 And I turn editing mode on
17 And I add the "Navigation" block if not present
18 And I expand "Site pages" node
19 And I click on "Content bank" "link"
20 When I click on "Display contentbank with file details" "button"
21 And I should see "Last modified"
22 And I follow "filltheblanks.h5p"
23 And I click on "Content bank" "link"
24 And I should see "Last modified"
25 And I click on "Display contentbank with icons" "button"
26 And I follow "filltheblanks.h5p"
27 And I click on "Content bank" "link"
28 And I should not see "Last modified"