source: moodle/trunk/fuentes/lib/editor/atto/plugins/link/tests/behat/link.feature @ 1331

Last change on this file since 1331 was 1331, checked in by jrpelegrina, 3 years ago

Updated to moodle 3.0.3

File size: 1.1 KB
Line 
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 follow "Profile" in the user menu
12    And I follow "Edit profile"
13    And I set the field "Description" to "Super cool"
14    And I select the text in the "Description" Atto editor
15    And I click on "Link" "button"
16    And I click on "Browse repositories..." "button"
17    And I click on "Private files" "link"
18    And I click on "moodle-logo.png" "link"
19    And I click on "Select this file" "button"
20    And I click on "Update profile" "button"
21    And I follow "Preferences" in the user menu
22    And I follow "Editor preferences"
23    And I set the field "Text editor" to "Plain text area"
24    And I press "Save changes"
25    And I follow "Edit profile"
26    Then I should see "Super cool</a>"
27
Note: See TracBrowser for help on using the repository browser.