Proyectos de Subversion Moodle

Rev

Rev 11 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11 Rev 1441
Línea 33... Línea 33...
33
 
33
 
34
  @javascript @repository_contentbank
34
  @javascript @repository_contentbank
35
  Scenario: Edit H5P content from a forum intro using copy to content bank file
35
  Scenario: Edit H5P content from a forum intro using copy to content bank file
36
    Given I am on the "ForumName1" "forum activity editing" page logged in as admin
36
    Given I am on the "ForumName1" "forum activity editing" page logged in as admin
37
    # Add H5P content to the forum description.
37
    # Add H5P content to the forum description.
38
    And I click on "Configure H5P content" "button" in the "#fitem_id_introeditor" "css_element"
38
    And I click on "Insert H5P content" "button" in the "#fitem_id_introeditor" "css_element"
39
    And I click on "Browse repositories..." "button" in the "Insert H5P content" "dialogue"
39
    And I click on "Browse repositories..." "button" in the "Insert H5P content" "dialogue"
40
    And I select "Content bank" repository in file picker
40
    And I select "Content bank" repository in file picker
41
    And I click on "Greeting card" "file" in repository content area
41
    And I click on "Greeting card" "file" in repository content area
42
    And I click on "Make a copy of the file" "radio"
42
    And I click on "Make a copy of the file" "radio"
Línea 80... Línea 80...
80
    And I follow "Forum post by admin"
80
    And I follow "Forum post by admin"
81
    And I click on "Edit" "link"
81
    And I click on "Edit" "link"
82
    # Add H5P content to a forum post as admin.
82
    # Add H5P content to a forum post as admin.
83
    And I set the following fields to these values:
83
    And I set the following fields to these values:
84
      | Subject | Forum post by admin |
84
      | Subject | Forum post by admin |
85
    And I click on "Configure H5P content" "button" in the "#fitem_id_message" "css_element"
85
    And I click on "Insert H5P content" "button" in the "#fitem_id_message" "css_element"
86
    And I click on "Browse repositories..." "button" in the "Insert H5P content" "dialogue"
86
    And I click on "Browse repositories..." "button" in the "Insert H5P content" "dialogue"
87
    And I select "Content bank" repository in file picker
87
    And I select "Content bank" repository in file picker
88
    And I click on "Greeting card" "file" in repository content area
88
    And I click on "Greeting card" "file" in repository content area
89
    And I click on "Select this file" "button"
89
    And I click on "Select this file" "button"
90
    And I click on "Insert H5P" "button" in the "Insert H5P content" "dialogue"
90
    And I click on "Insert H5P" "button" in the "Insert H5P content" "dialogue"