moodle/lib/editor/atto/plugins/html/tests/behat/html.feature
2017-01-03 09:12:54 +08:00

13 lines
565 B
Gherkin

@editor @editor_atto @atto @atto_html
Feature: Atto edit HTML
To write advanced HTML, I need to edit the HTML source code
@javascript
Scenario: Edit the html source
Given I log in as "admin"
When I follow "Profile" in the user menu
And I click on "Edit profile" "link" in the "region-main" "region"
And I set the field "Description" to "<p style=\"color: blue;\">Smurf</p>"
And I click on "Show more buttons" "button"
And I click on "HTML" "button"
Then the field "Description" matches value "<p style=\"color: blue;\">Smurf</p>"