[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 @editor @editor_atto @atto @atto_equation @_bug_phantomjs 2 Feature: Atto equation editor 3 To teach maths to students, I need to write equations 4 5 @javascript 6 Scenario: Create an equation 7 Given I log in as "admin" 8 When I navigate to "Edit profile" node in "My profile settings" 9 And I set the field "Description" to "<p>Equation test</p>" 10 # Set field on the bottom of page, so equation editor dialogue is visible. 11 And I expand all fieldsets 12 And I set the field "Picture description" to "Test" 13 And I select the text in the "Description" Atto editor 14 And I click on "Show more buttons" "button" 15 And I click on "Equation editor" "button" 16 And I set the field "Edit equation using" to " = 1 \div 0" 17 And I click on "\infty" "button" 18 And I click on "Save equation" "button" 19 And I click on "Update profile" "button" 20 Then "\infty" "text" should exist 21 22 @javascript 23 Scenario: Edit an equation 24 Given I log in as "admin" 25 When I navigate to "Edit profile" node in "My profile settings" 26 And I set the field "Description" to "<p>\( \pi \)</p>" 27 # Set field on the bottom of page, so equation editor dialogue is visible. 28 And I expand all fieldsets 29 And I set the field "Picture description" to "Test" 30 And I select the text in the "Description" Atto editor 31 And I click on "Show more buttons" "button" 32 And I click on "Equation editor" "button" 33 Then the field "Edit equation using" matches value " \pi " 34 And I click on "Save equation" "button" 35 And the field "Description" matches value "<p>\( \pi \)</p>"
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |