2012-11-09 19:15:54 +01:00
|
|
|
Feature: Search for a page
|
|
|
|
As an author
|
|
|
|
I want to search for a page in the CMS
|
|
|
|
So that I can efficiently navigate nested content structures
|
|
|
|
|
2013-06-05 13:30:15 +02:00
|
|
|
Background:
|
2013-06-05 14:18:07 +02:00
|
|
|
Given a "page" "About Us"
|
|
|
|
And a "page" "Contact Us"
|
2013-06-05 13:30:15 +02:00
|
|
|
|
2012-11-09 19:15:54 +01:00
|
|
|
@javascript
|
|
|
|
Scenario: I can search for a page by its title
|
|
|
|
Given I am logged in with "ADMIN" permissions
|
|
|
|
And I go to "/admin/pages"
|
|
|
|
Then I should see "About Us" in CMS Tree
|
|
|
|
And I should see "Contact Us" in CMS Tree
|
|
|
|
|
2012-11-09 20:50:16 +01:00
|
|
|
When I expand the "Filter" CMS Panel
|
2012-11-09 19:15:54 +01:00
|
|
|
And I fill in "Content" with "About Us"
|
2012-11-09 20:50:16 +01:00
|
|
|
And I press the "Apply Filter" button
|
2012-11-09 19:15:54 +01:00
|
|
|
Then I should see "About Us" in CMS Tree
|
|
|
|
But I should not see "Contact Us" in CMS Tree
|