403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.155
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/myschool/triamudom/tuprblearn/lib/editor/atto/plugins/align/tests/behat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/triamudom/tuprblearn/lib/editor/atto/plugins/align/tests/behat/align.feature
@editor @editor_atto @atto @atto_align
Feature: Atto align text
  To format text in Atto, I need to use the align buttons.

  @javascript
  Scenario: Right align some text
    Given I log in as "admin"
    And I open my profile in edit mode
    And I set the field "Description" to "<p>Fascism</p>"
    And I click on "Show more buttons" "button"
    And I select the text in the "Description" Atto editor
    When I click on "Right align" "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 see "style=\"text-align:right;\""

  @javascript
  Scenario: Left align some text
    Given I log in as "admin"
    And I open my profile in edit mode
    And I set the field "Description" to "<p>Communism</p>"
    And I click on "Show more buttons" "button"
    And I select the text in the "Description" Atto editor
    When I click on "Right align" "button"
    And I click on "Left align" "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 see "style=\"text-align:left;\""

  @javascript
  Scenario: Center align some text
    Given I log in as "admin"
    And I open my profile in edit mode
    And I set the field "Description" to "<p>United Future</p>"
    And I click on "Show more buttons" "button"
    And I select the text in the "Description" Atto editor
    When I click on "Center" "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 see "style=\"text-align:center;\""

Youez - 2016 - github.com/yon3zu
LinuXploit