setcontent.feature test

This commit is contained in:
Ivo Valchev
2019-10-22 12:20:21 +02:00
parent bf309d14d3
commit d8c797feff

View File

@@ -0,0 +1,15 @@
Feature: Setcontent
@javascript
Scenario: As a user I want to see the results of Setcontent
When I am on "/page/setcontent-test-page"
Then I should see "yes" in the "#results-one" element
And I should see "yes" in the "#results-two" element
And I should see "yes" in the "#results-four" element
And I should see "yes" in the "#results-five" element
And I should see "yes" in the "#results-six" element
Then I should see "2" in the "#three .s1" element
And I should see "published" in the "#three .s2" element
And I should not see "[no]" in the "body" element