-
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
916ec53
commit 4031de7
Showing
4 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Feature: Global Search on Dashboard | ||
|
||
@javascript | ||
@foo | ||
Scenario: As an Admin I want to filter content | ||
Given I am logged in as "admin" | ||
And I am on "/bolt" | ||
|
||
Then I should see "Bolt Dashboard" | ||
|
||
When I fill "#global-search" element with "a" | ||
And I press "Search" | ||
|
||
Then I should be on "/bolt/?filter=a" | ||
Then I should see 8 ".listing--container" elements | ||
And I should see "All content, filtered by 'a'" | ||
|
||
Then I wait 1 seconds | ||
|
||
When I fill "#global-search" element with "Entries" | ||
And I press "Search" | ||
Then I should be on "/bolt/?filter=Entries" | ||
Then I should see 1 ".listing--container" elements | ||
And I should see "Entries" in the ".listing--container" element | ||
|
||
Then I wait 1 seconds | ||
|
||
When I fill "#global-search" element with "" | ||
And I press "Search" | ||
Then I should be on "/bolt/" | ||
And I should see 8 ".listing--container" elements |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters