Línea 32... |
Línea 32... |
32 |
Given I log in as "admin"
|
32 |
Given I log in as "admin"
|
33 |
And I open my profile in edit mode
|
33 |
And I open my profile in edit mode
|
34 |
And I click on the "Image" button for the "Description" TinyMCE editor
|
34 |
And I click on the "Image" button for the "Description" TinyMCE editor
|
35 |
And I click on "Browse repositories" "button" in the "Insert image" "dialogue"
|
35 |
And I click on "Browse repositories" "button" in the "Insert image" "dialogue"
|
36 |
And I upload "lib/editor/tiny/tests/behat/fixtures/moodle-logo.png" to the file picker for TinyMCE
|
36 |
And I upload "lib/editor/tiny/tests/behat/fixtures/moodle-logo.png" to the file picker for TinyMCE
|
37 |
And I set the field "How would you describe this image to someone who can't see it:" to "It's the Moodle"
|
37 |
And I set the field "How would you describe this image to someone who can't see it?" to "It's the Moodle"
|
38 |
And I click on "Save" "button" in the "Image details" "dialogue"
|
38 |
And I click on "Save" "button" in the "Image details" "dialogue"
|
39 |
When I select the "img" element in position "0" of the "Description" TinyMCE editor
|
39 |
When I select the "img" element in position "0" of the "Description" TinyMCE editor
|
40 |
And I click on the "Image" button for the "Description" TinyMCE editor
|
40 |
And I click on the "Image" button for the "Description" TinyMCE editor
|
41 |
Then the field "How would you describe this image to someone who can't see it:" matches value "It's the Moodle"
|
41 |
Then the field "How would you describe this image to someone who can't see it?" matches value "It's the Moodle"
|
42 |
# Note: This needs to be replaced with a label.
|
42 |
# Note: This needs to be replaced with a label.
|
43 |
And ".tiny_image_preview" "css_element" should be visible
|
43 |
And ".tiny_image_preview" "css_element" should be visible
|
Línea 44... |
Línea 44... |
44 |
|
44 |
|
45 |
@_file_upload
|
45 |
@_file_upload
|