-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
wysiwyg.feature
25 lines (23 loc) · 945 Bytes
/
wysiwyg.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Feature: Check that WysiywgTrait works.
@api
Scenario: Assert "When I fill in WYSIWYG "field" with "value"" works as expected
Given page content:
| title |
| [TEST] Page title |
And I am logged in as a user with the "administrator" role
And I edit "page" "[TEST] Page title"
When I fill in WYSIWYG "Body" with "[TEST] value"
And save screenshot
And I press "Save"
Then I should see "[TEST] value"
@api @javascript
Scenario: Assert "When I fill in WYSIWYG "field" with "value"" works as expected with JS driver
Given page content:
| title |
| [TEST-JS-Driver] Page title |
And I am logged in as a user with the "administrator" role
And I edit "page" "[TEST-JS-Driver] Page title"
When I fill in WYSIWYG "Body" with "[TEST-JS-Driver] value"
And save screenshot
And I press "Save"
Then I should see "[TEST-JS-Driver] value"