Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
@editor @editor_tiny @tiny_equationFeature: Equation editorTo teach maths to students, I need to write equations@javascriptScenario: Create an equation using TinyMCEGiven 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 expand all toolbars for the "Description" TinyMCE editorAnd I click on the "Equation editor" button for the "Description" TinyMCE editorAnd 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 equation using TinyMCEGiven 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 expand all toolbars for the "Description" TinyMCE editorAnd I click on the "Equation editor" button for the "Description" TinyMCE editorAnd 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>"