Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scenario: Searching pages
- Given I create a sub page "About us" for "/"
- And I create a sub page "Contact us" for "About us"
- When I go to "/pages/admin"
- Then I should see "Search pages"
- When I focus on the form which "action" is "/pages/search"
- And I select "title" from "scope"
- And I fill in "query" with "us"
- And I press "search"
- Then I should see "About us"
- And I should see "Contact us"
- When I focus on the form which "action" is "/pages/search"
- And I select "title" from "scope"
- And I fill in "query" with "Contact"
- And I press "search"
- Then I should see "Contact us"
- And I should not see "About us"
Add Comment
Please, Sign In to add comment