Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5015d29f
Commit
5015d29f
authored
Feb 06, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test for Filtered search bar
parent
f741f620
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
spec/ee/spec/features/epics/epics_list_spec.rb
spec/ee/spec/features/epics/epics_list_spec.rb
+6
-0
No files found.
spec/ee/spec/features/epics/epics_list_spec.rb
View file @
5015d29f
...
...
@@ -22,6 +22,12 @@ describe 'epics list', :js do
expect
(
first
(
'.nav-sidebar .active a .count'
)).
to
have_content
(
'2'
)
end
it
'renders the filtered search bar correctly'
do
page
.
within
(
'.content-wrapper .content'
)
do
expect
(
page
).
to
have_css
(
'.epics-filters'
)
end
end
it
'renders the list correctly'
do
page
.
within
(
'.content-wrapper .content'
)
do
expect
(
find
(
'.top-area'
)).
to
have_content
(
'All 2'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment