mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-46001 atto_clear: modfied behat test to work on xvfb
This commit is contained in:
parent
337075d17b
commit
96b86e038e
@ -7,10 +7,12 @@ Feature: Atto clear button
|
|||||||
Given I log in as "admin"
|
Given I log in as "admin"
|
||||||
And I navigate to "Edit profile" node in "My profile settings"
|
And I navigate to "Edit profile" node in "My profile settings"
|
||||||
And I set the field "Text editor" to "Plain text area"
|
And I set the field "Text editor" to "Plain text area"
|
||||||
And I set the field "Description" to "<p><i>Pisa</i></p>"
|
And I set the field "Description" to "Pisa"
|
||||||
When I click on "Show more buttons" "button"
|
|
||||||
And I select the text in the "Description" Atto editor
|
And I select the text in the "Description" Atto editor
|
||||||
And I click on "Clear formatting" "button"
|
And I click on "Italic" "button"
|
||||||
|
And I click on "Show more buttons" "button"
|
||||||
|
And I select the text in the "Description" Atto editor
|
||||||
|
When I click on "Clear formatting" "button"
|
||||||
And I press "Update profile"
|
And I press "Update profile"
|
||||||
And I follow "Edit profile"
|
And I follow "Edit profile"
|
||||||
Then I should not see "<i>Pisa"
|
Then I should not see "<i>Pisa"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user