1 |
efrain |
1 |
@editor @editor_atto @atto @atto_title
|
|
|
2 |
Feature: Atto title
|
|
|
3 |
To format text in Atto, I need to add headings
|
|
|
4 |
|
|
|
5 |
@javascript
|
|
|
6 |
Scenario: Create a heading
|
|
|
7 |
Given I log in as "admin"
|
|
|
8 |
And I open my profile in edit mode
|
|
|
9 |
And I set the field "Description" to "How The Rock Has Made the WWE World Heavyweight Title More Important Than Ever"
|
|
|
10 |
And I select the text in the "Description" Atto editor
|
|
|
11 |
When I click on "Paragraph styles" "button"
|
|
|
12 |
When I click on "Heading (large)" "link"
|
|
|
13 |
And I press "Update profile"
|
|
|
14 |
And I follow "Preferences" in the user menu
|
|
|
15 |
And I follow "Editor preferences"
|
|
|
16 |
And I set the field "Text editor" to "Plain text area"
|
|
|
17 |
And I press "Save changes"
|
|
|
18 |
And I click on "Edit profile" "link" in the "region-main" "region"
|
|
|
19 |
Then I should see "<h3>How The Rock"
|