1@editor @editor_atto @atto @atto_link @_file_upload 2Feature: Add links to Atto 3 To write rich text - I need to add links. 4 5 @javascript 6 Scenario: Insert a links 7 Given I log in as "admin" 8 And I follow "Manage private files..." 9 And I upload "lib/editor/atto/tests/fixtures/moodle-logo.png" file to "Files" filemanager 10 And I click on "Save changes" "button" 11 When I open my profile in edit mode 12 And I set the field "Description" to "Super cool" 13 And I select the text in the "Description" Atto editor 14 And I click on "Link" "button" 15 And I click on "Browse repositories..." "button" 16 And I click on "Private files" "link" in the ".fp-repo-area" "css_element" 17 And I click on "moodle-logo.png" "link" 18 And I click on "Select this file" "button" 19 And I click on "Update profile" "button" 20 And I follow "Preferences" in the user menu 21 And I follow "Editor preferences" 22 And I set the field "Text editor" to "Plain text area" 23 And I press "Save changes" 24 And I click on "Edit profile" "link" in the "region-main" "region" 25 Then I should see "Super cool</a>" 26