Details

Functional Test

Minor

Moodle 3.6

None
Description
This test requires a course with a forum and for ATTO to be the default editor (in Site administration>Plugins>Text editors>Manage editors)
 Log in to Moodle as a user and navigate to an available forum.
 Click to add a new discussion and verify you see the ATTO editor
 Expand the editor to see all available icons.
 Click the equation editor button
 Click the advanced tab
 Click the square root button
 Validate the text \sqrt[a]{b+c} appear in the text area
 Save the equation
 Save the forum post and verify "square root of b+c is a" in the equation
Repeat above for:
Button  input  expected 

fraction  \frac{a}{b+c}  a /b+C 
vector  \vec{a}  a is rendered with an arrow above it 
binomial  \binom
{a}
{b}

a is over b is rendered inside () 
bracket  {a \brack b}  a is over b is rendered inside [] 
brace  {a \brace b}  a is over b is rendered inside {} 