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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
d5327b4e
Commit
d5327b4e
authored
Aug 17, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test update
It wasnt testing what it was saying it should be...
parent
89e37d0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
20 deletions
+5
-20
spec/features/boards/boards_spec.rb
spec/features/boards/boards_spec.rb
+5
-20
No files found.
spec/features/boards/boards_spec.rb
View file @
d5327b4e
...
@@ -508,18 +508,12 @@ describe 'Issue Boards', feature: true, js: true do
...
@@ -508,18 +508,12 @@ describe 'Issue Boards', feature: true, js: true do
end
end
it
'filters by clicking label button on issue'
do
it
'filters by clicking label button on issue'
do
page
.
within
'.issues-filters'
do
page
.
within
(
find
(
'.board'
,
match: :first
))
do
click_button
(
'Label'
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
6
)
click_button
(
bug
.
title
)
page
.
within
'.dropdown-menu-labels'
do
wait_for_vue_resource
(
spinner:
false
)
click_link
(
bug
.
title
)
wait_for_vue_resource
(
spinner:
false
)
find
(
'.dropdown-menu-close'
).
click
end
end
end
wait_for_vue_resource
page
.
within
(
find
(
'.board'
,
match: :first
))
do
page
.
within
(
find
(
'.board'
,
match: :first
))
do
expect
(
page
.
find
(
'.board-header'
)).
to
have_content
(
'1'
)
expect
(
page
.
find
(
'.board-header'
)).
to
have_content
(
'1'
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
1
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
1
)
...
@@ -530,17 +524,8 @@ describe 'Issue Boards', feature: true, js: true do
...
@@ -530,17 +524,8 @@ describe 'Issue Boards', feature: true, js: true do
expect
(
page
).
to
have_selector
(
'.card'
,
count:
0
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
0
)
end
end
wait_for_vue_resource
page
.
within
(
find
(
'.board'
,
match: :first
))
do
click_button
(
bug
.
title
)
wait_for_vue_resource
(
spinner:
false
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
6
)
end
page
.
within
(
'.labels-filter'
)
do
page
.
within
(
'.labels-filter'
)
do
expect
(
find
(
'.dropdown-toggle-text'
)).
not_
to
have_content
(
bug
.
title
)
expect
(
find
(
'.dropdown-toggle-text'
)).
to
have_content
(
bug
.
title
)
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