mirror of
https://github.com/jbcr/core.git
synced 2026-04-01 05:42:19 +02:00
setcontent.feature test
This commit is contained in:
15
tests/behat/setcontent.feature
Normal file
15
tests/behat/setcontent.feature
Normal 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
|
||||
Reference in New Issue
Block a user