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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
a4b3bdab
Commit
a4b3bdab
authored
Jun 10, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed tests needed for any author
💩
parent
b2b3fb6c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
36 deletions
+0
-36
spec/features/issues/filter_issues_spec.rb
spec/features/issues/filter_issues_spec.rb
+0
-36
No files found.
spec/features/issues/filter_issues_spec.rb
View file @
a4b3bdab
...
@@ -294,40 +294,4 @@ describe 'Filter issues', feature: true do
...
@@ -294,40 +294,4 @@ describe 'Filter issues', feature: true do
end
end
end
end
end
end
describe
'filter by any author'
,
js:
true
do
before
do
user2
=
create
(
:user
,
name:
"tester"
)
create
(
:issue
,
project:
project
,
author:
user
)
create
(
:issue
,
project:
project
,
author:
user2
)
visit
namespace_project_issues_path
(
project
.
namespace
,
project
)
end
it
'should show filter by any author link'
do
click_button
"Author"
fill_in
"Search authors"
,
with:
"tester"
page
.
within
".dropdown-menu-author"
do
expect
(
page
).
to
have_content
"tester"
end
end
it
'should show filter issues by any author'
do
page
.
within
'.issues-list'
do
expect
(
page
).
to
have_selector
".issue"
,
count:
2
end
click_button
"Author"
fill_in
"Search authors"
,
with:
"tester"
page
.
within
".dropdown-menu-author"
do
click_link
"tester"
end
page
.
within
'.issues-list'
do
expect
(
page
).
to
have_selector
".issue"
,
count:
1
end
end
end
end
end
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