Skip to content

Commit

Permalink
MDL-67707 core_h5p: move shared h5p files to core fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
ferranrecio committed Mar 16, 2020
1 parent f3c7e00 commit 40cef8a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions filter/displayh5p/tests/behat/h5p_filter.feature
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Feature: Render H5P content using filters
And I add a "File" to section "1"
And I set the following fields to these values:
| Name | ipsumFile |
And I upload "filter/displayh5p/tests/fixtures/ipsums.h5p" file to "Select files" filemanager
And I upload "h5p/tests/fixtures/ipsums.h5p" file to "Select files" filemanager
And I press "Save and return to course"
And I follow "PageName1"
And I navigate to "Edit settings" in current page administration
Expand Down Expand Up @@ -102,7 +102,7 @@ Feature: Render H5P content using filters
And I add a "File" to section "1"
And I set the following fields to these values:
| Name | ipsumFile |
And I upload "filter/displayh5p/tests/fixtures/ipsums.h5p" file to "Select files" filemanager
And I upload "h5p/tests/fixtures/ipsums.h5p" file to "Select files" filemanager
And I press "Save and return to course"
And I follow "PageName1"
And I navigate to "Edit settings" in current page administration
Expand All @@ -127,7 +127,7 @@ Feature: Render H5P content using filters
And I add a "File" to section "1"
And I set the following fields to these values:
| Name | ipsumFileTeacher |
And I upload "filter/displayh5p/tests/fixtures/ipsums.h5p" file to "Select files" filemanager
And I upload "h5p/tests/fixtures/ipsums.h5p" file to "Select files" filemanager
And I press "Save and return to course"
And I follow "PageName1"
And I navigate to "Edit settings" in current page administration
Expand All @@ -151,7 +151,7 @@ Feature: Render H5P content using filters
And I add a "File" to section "1"
And I set the following fields to these values:
| Name | ipsumFile |
And I upload "filter/displayh5p/tests/fixtures/ipsums.h5p" file to "Select files" filemanager
And I upload "h5p/tests/fixtures/ipsums.h5p" file to "Select files" filemanager
And I press "Save and return to course"
And I follow "PageName2"
And I navigate to "Edit settings" in current page administration
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions lib/editor/atto/plugins/h5p/tests/behat/h5p.feature
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Feature: Add h5ps to Atto
Scenario: Insert an h5p file
Given I log in as "admin"
And I follow "Manage private files..."
And I upload "lib/editor/atto/tests/fixtures/guess-the-answer.h5p" file to "Files" filemanager
And I upload "h5p/tests/fixtures/guess-the-answer.h5p" file to "Files" filemanager
And I click on "Save changes" "button"
And I am on "Course 1" course homepage
And I follow "PageName1"
Expand Down Expand Up @@ -145,7 +145,7 @@ Feature: Add h5ps to Atto
Scenario: Enable/disable H5P options
Given I log in as "admin"
And I follow "Manage private files..."
And I upload "lib/editor/atto/tests/fixtures/guess-the-answer.h5p" file to "Files" filemanager
And I upload "h5p/tests/fixtures/guess-the-answer.h5p" file to "Files" filemanager
And I click on "Save changes" "button"
And I am on "Course 1" course homepage
And I follow "PageName1"
Expand Down Expand Up @@ -209,7 +209,7 @@ Feature: Add h5ps to Atto
| student1 | C1 | student |
And I log in as "admin"
And I follow "Manage private files..."
And I upload "lib/editor/atto/tests/fixtures/guess-the-answer.h5p" file to "Files" filemanager
And I upload "h5p/tests/fixtures/guess-the-answer.h5p" file to "Files" filemanager
And I click on "Save changes" "button"
And I am on "Course 1" course homepage
And I follow "PageName1"
Expand Down

0 comments on commit 40cef8a

Please sign in to comment.