tinymce_mathslate_plugin.feature 1.2 KB
Newer Older
1
2
3
4
5
6
7
8
@javascript @core @core_administration
Feature: TinyMCE mathslate plugin
In order to view mathslate plugin
As an admin
I need to be able to access mathslate in Tinymce

Scenario: Making adjustments to the mathslate plugin for mahara (Bug 1472446)
 Given I log in as "admin" with password "Kupuhipa1"
9
 And I click on "Show Administration Menu"
10
11
 And I follow "Configure site"
 And I follow "General settings"
Son Nguyen's avatar
Son Nguyen committed
12
 And I enable the switch "Enable MathJax"
13
14
 And I press "Update site options"
 And I should see "Site options have been updated."
15
 And I choose "Pages and collections" in "Configure site" from Admin menu
16
17
 And I follow "Add"
 And I click on "Page" in the dialog
18
19
20
21
22
23
 And I set the following fields to these values:
   | Page title | test |
   | Page description | testing |
 And I press "Save"
 And I should see "Page saved successfully"
 And I wait "1" seconds
24
 And I choose "Pages and collections" in "Configure site" from Admin menu
25
26
 And I follow "test"
 # Tinymce field adding a math equation
27
 And I fill in "\\[\\alpha A\\beta B\\]" in editor "Message"
28
29
 And I press "Comment"
 And I wait "1" seconds
30
31
 And I choose "Pages and collections" in "Configure site" from Admin menu
 And I follow "test"
32
 And I should see "αAβB"