1 |
efrain |
1 |
@editor @core_h5p
|
|
|
2 |
Feature: Check H5P tools information is correct
|
|
|
3 |
|
|
|
4 |
@javascript
|
|
|
5 |
Scenario: Display H5P filter information.
|
|
|
6 |
Given I log in as "admin"
|
|
|
7 |
When I navigate to "H5P > H5P overview" in site administration
|
|
|
8 |
Then I should see "Enable" in the "Display H5P filter" "table_row"
|
|
|
9 |
And I click on "Display H5P filter" "link"
|
|
|
10 |
And I set the field "newstate" in the "Display H5P" "table_row" to "Off, but available"
|
|
|
11 |
And I navigate to "H5P > H5P overview" in site administration
|
|
|
12 |
And I should see "Off, but available" in the "Display H5P filter" "table_row"
|
|
|
13 |
|
|
|
14 |
@javascript
|
|
|
15 |
Scenario: 'Download available H5P content types from h5p.org' scheduled task.
|
|
|
16 |
Given I log in as "admin"
|
|
|
17 |
When I navigate to "H5P > H5P overview" in site administration
|
|
|
18 |
Then I should see "Enable" in the "H5P scheduled task" "table_row"
|
|
|
19 |
And I click on "H5P scheduled task" "link"
|
|
|
20 |
And I set the field "disabled" to "1"
|
|
|
21 |
And I click on "Save changes" "button"
|
|
|
22 |
And I navigate to "H5P > H5P overview" in site administration
|
|
|
23 |
And I should see "Disable" in the "H5P scheduled task" "table_row"
|
|
|
24 |
|
|
|
25 |
@javascript
|
11 |
efrain |
26 |
Scenario: H5P editor button.
|
1 |
efrain |
27 |
Given I log in as "admin"
|
|
|
28 |
When I navigate to "H5P > H5P overview" in site administration
|
|
|
29 |
Then I should see "Enable" in the "Insert H5P button" "table_row"
|
|
|
30 |
And I click on "Insert H5P button" "link"
|
|
|
31 |
And I set the field "Toolbar config" to "style1 = title, bold, italic"
|
|
|
32 |
And I click on "Save changes" "button"
|
|
|
33 |
When I navigate to "H5P > H5P overview" in site administration
|
|
|
34 |
Then I should see "Disable" in the "Insert H5P button" "table_row"
|