1 |
efrain |
1 |
@editor @editor_tiny
|
|
|
2 |
Feature: Check the features of the TinyMCE Premium settings
|
|
|
3 |
In order to use TinyMCE Premium features
|
|
|
4 |
As an admin
|
|
|
5 |
I need TinyMCE Premium settings to be configured correctly
|
|
|
6 |
|
|
|
7 |
Background:
|
|
|
8 |
Given I am logged in as "admin"
|
|
|
9 |
And I navigate to "Plugins > Text editors > TinyMCE editor > TinyMCE Premium" in site administration
|
|
|
10 |
|
|
|
11 |
@javascript
|
|
|
12 |
Scenario: I can see a warning banner when I enable a TinyMCE premium plugin without an API key set
|
|
|
13 |
When I click on "Enable Advanced Table" "link"
|
|
|
14 |
Then I should see "Advanced Table enabled."
|
|
|
15 |
And I should see "Enabled TinyMCE Premium plugins will not be available until an API key is added."
|
|
|
16 |
|
|
|
17 |
@javascript
|
|
|
18 |
Scenario: I cannot see a warning banner when I enable a TinyMCE premium plugin with an API key set
|
|
|
19 |
Given the following config values are set as admin:
|
|
|
20 |
| apikey | "123456" | tiny_premium |
|
|
|
21 |
When I click on "Enable Advanced Table" "link"
|
|
|
22 |
Then I should see "Advanced Table enabled."
|
|
|
23 |
And I should not see "Enabled TinyMCE Premium plugins will not be available until an API key is added."
|