1 |
efrain |
1 |
@core @core_admin
|
|
|
2 |
Feature: An administrator can manage TinyMCE subplugins
|
|
|
3 |
In order to alter the user experience
|
|
|
4 |
As an admin
|
|
|
5 |
I can manage TinyMCE subplugins
|
|
|
6 |
|
|
|
7 |
@javascript
|
|
|
8 |
Scenario: An administrator can control the enabled state of TinyMCE subplugins using JavaScript
|
|
|
9 |
Given I am logged in as "admin"
|
|
|
10 |
And I navigate to "Plugins > Text editors > TinyMCE editor > General settings" in site administration
|
1441 |
ariadna |
11 |
When I toggle the "Disable Equation editor" admin switch "off"
|
|
|
12 |
And I should see "Equation editor disabled."
|
|
|
13 |
And I reload the page
|
|
|
14 |
Then I should see "Enable Equation editor"
|
|
|
15 |
And I toggle the "Enable Equation editor" admin switch "on"
|
|
|
16 |
And I should see "Equation editor enabled."
|
|
|
17 |
And I reload the page
|
|
|
18 |
Then I should see "Disable Equation editor"
|