HEX
Server: Apache
System: Linux webm010.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: iestorre (46869)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/iestorre/moodleAW/moodle310/lib/editor/atto/plugins/clear/tests/behat/clear.feature
@editor @editor_atto @atto @atto_clear @_bug_phantomjs
Feature: Atto clear button
  To format text in Atto, I need to remove formatting

  @javascript
  Scenario: Clear formatting
    Given I log in as "admin"
    And I open my profile in edit mode
    And I set the field "Description" to "Pisa"
    And I select the text in the "Description" Atto editor
    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 follow "Preferences" in the user menu
    And I follow "Editor preferences"
    And I set the field "Text editor" to "Plain text area"
    And I press "Save changes"
    And I click on "Edit profile" "link" in the "region-main" "region"
    Then I should not see "<i>Pisa"