AutorÃa | Ultima modificación | Ver Log |
@editor @editor_atto @atto @atto_equation @_bug_phantomjsFeature: Atto equation editorTo teach maths to students, I need to write equations@javascriptScenario: Create an equationGiven I log in as "admin"When I open my profile in edit modeAnd I set the field "Description" to "<p>Equation test</p>"# Set field on the bottom of page, so equation editor dialogue is visible.And I expand all fieldsetsAnd I set the field "Picture description" to "Test"And I select the text in the "Description" Atto editorAnd I click on "Show more buttons" "button"And I click on "Equation editor" "button"And the "class" attribute of "Edit equation using" "field" should contain "text-ltr"And I set the field "Edit equation using" to " = 1 \div 0"And I click on "\infty" "button"And I click on "Save equation" "button"And I click on "Update profile" "button"And I follow "Profile" in the user menuThen "\infty" "text" should exist@javascriptScenario: Edit an equationGiven I log in as "admin"When I open my profile in edit modeAnd I set the field "Description" to "<p>\( \pi \)</p>"# Set field on the bottom of page, so equation editor dialogue is visible.And I expand all fieldsetsAnd I set the field "Picture description" to "Test"And I select the text in the "Description" Atto editorAnd I click on "Show more buttons" "button"And I click on "Equation editor" "button"And the "class" attribute of "Edit equation using" "field" should contain "text-ltr"Then the field "Edit equation using" matches value " \pi "And I click on "Save equation" "button"And the field "Description" matches value "<p>\( \pi \)</p>"