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_image @_file_upload
1
@editor @editor_atto @atto @atto_image
2
Feature: Add images to Atto
2
Feature: Add images to Atto
3
  To write rich text - I need to add images.
3
  To write rich text - I need to add images.
Línea 4... Línea 4...
4
 
4
 
5
  @javascript
5
  @javascript
6
  Scenario: Insert an image
6
  Scenario: Insert an image
7
    Given the following "blocks" exist:
7
    Given the following "user private file" exists:
8
      | blockname     | contextlevel | reference | pagetypepattern | defaultregion |
8
      | user     | admin                                          |
9
      | private_files | System       | 1         | my-index        | side-post     |
9
      | filepath | lib/editor/atto/tests/fixtures/moodle-logo.png |
10
    And I log in as "admin"
-
 
11
    And I follow "Manage private files..."
-
 
12
    And I upload "lib/editor/atto/tests/fixtures/moodle-logo.png" file to "Files" filemanager
-
 
13
    And I click on "Save changes" "button"
10
    And I log in as "admin"
14
    And I open my profile in edit mode
11
    And I open my profile in edit mode
15
    When I set the field "Description" to "<p>Image test</p>"
12
    When I set the field "Description" to "<p>Image test</p>"
16
    And I select the text in the "Description" Atto editor
13
    And I select the text in the "Description" Atto editor
17
    And I click on "Insert or edit image" "button"
14
    And I click on "Insert or edit image" "button"