Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 1... Línea 1...
1
@editor @editor_atto @atto @atto_media @_file_upload
1
@editor @editor_atto @atto @atto_media
2
Feature: Add media to Atto
2
Feature: Add media to Atto
3
  To write rich text - I need to add media.
3
  To write rich text - I need to add media.
Línea 4... Línea 4...
4
 
4
 
5
  Background:
5
  Background:
6
    Given the following "blocks" exist:
6
    Given the following "user private files" exist:
-
 
7
      | user  | filepath                                          |
7
      | blockname     | contextlevel | reference | pagetypepattern | defaultregion |
8
      | admin | lib/editor/atto/tests/fixtures/moodle-logo.webm   |
-
 
9
      | admin | lib/editor/atto/tests/fixtures/moodle-logo.mp4    |
-
 
10
      | admin | lib/editor/atto/tests/fixtures/moodle-logo.png    |
-
 
11
      | admin | lib/editor/atto/tests/fixtures/pretty-good-en.vtt |
8
      | private_files | System       | 1         | my-index        | side-post     |
12
      | admin | lib/editor/atto/tests/fixtures/pretty-good-sv.vtt |
9
    And I log in as "admin"
13
    And I log in as "admin"
10
    And I change window size to "large"
-
 
11
    And I follow "Manage private files..."
-
 
12
    And I upload "lib/editor/atto/tests/fixtures/moodle-logo.webm" file to "Files" filemanager
-
 
13
    And I upload "lib/editor/atto/tests/fixtures/moodle-logo.mp4" file to "Files" filemanager
-
 
14
    And I upload "lib/editor/atto/tests/fixtures/moodle-logo.png" file to "Files" filemanager
-
 
15
    And I upload "lib/editor/atto/tests/fixtures/pretty-good-en.vtt" file to "Files" filemanager
-
 
16
    And I upload "lib/editor/atto/tests/fixtures/pretty-good-sv.vtt" file to "Files" filemanager
-
 
17
    And I click on "Save changes" "button"
14
    And I change window size to "large"
18
    And I follow "Profile" in the user menu
15
    And I follow "Profile" in the user menu
19
    And I follow "Blog entries"
16
    And I follow "Blog entries"
20
    And I follow "Add a new entry"
17
    And I follow "Add a new entry"
21
    And I set the field "Blog entry body" to "<p>Media test</p>"
18
    And I set the field "Blog entry body" to "<p>Media test</p>"