diff --git a/filter/displayh5p/tests/behat/h5p_filter.feature b/filter/displayh5p/tests/behat/h5p_filter.feature index 4bad0907e619c..df8f2207ed745 100644 --- a/filter/displayh5p/tests/behat/h5p_filter.feature +++ b/filter/displayh5p/tests/behat/h5p_filter.feature @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/lib/editor/atto/tests/fixtures/guess-the-answer.h5p b/h5p/tests/fixtures/guess-the-answer.h5p similarity index 100% rename from lib/editor/atto/tests/fixtures/guess-the-answer.h5p rename to h5p/tests/fixtures/guess-the-answer.h5p diff --git a/filter/displayh5p/tests/fixtures/ipsums.h5p b/h5p/tests/fixtures/ipsums.h5p similarity index 100% rename from filter/displayh5p/tests/fixtures/ipsums.h5p rename to h5p/tests/fixtures/ipsums.h5p diff --git a/lib/editor/atto/plugins/h5p/tests/behat/h5p.feature b/lib/editor/atto/plugins/h5p/tests/behat/h5p.feature index 4ea2e13b538ff..fc51cf4639f78 100644 --- a/lib/editor/atto/plugins/h5p/tests/behat/h5p.feature +++ b/lib/editor/atto/plugins/h5p/tests/behat/h5p.feature @@ -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" @@ -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" @@ -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"