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
c8a89beb
Commit
c8a89beb
authored
Aug 18, 2017
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test
parent
f28f2280
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/features/issues/filtered_search/dropdown_weight_spec.rb
spec/features/issues/filtered_search/dropdown_weight_spec.rb
+4
-4
No files found.
spec/features/issues/filtered_search/dropdown_weight_spec.rb
View file @
c8a89beb
...
@@ -62,7 +62,7 @@ describe 'Dropdown weight', :js do
...
@@ -62,7 +62,7 @@ describe 'Dropdown weight', :js do
click_weight
(
1
)
click_weight
(
1
)
expect
(
page
).
to
have_css
(
js_dropdown_weight
,
visible:
false
)
expect
(
page
).
to
have_css
(
js_dropdown_weight
,
visible:
false
)
expect_tokens
([{
name:
'
w
eight'
,
value:
'1'
}])
expect_tokens
([{
name:
'
W
eight'
,
value:
'1'
}])
expect_filtered_search_input_empty
expect_filtered_search_input_empty
end
end
...
@@ -70,7 +70,7 @@ describe 'Dropdown weight', :js do
...
@@ -70,7 +70,7 @@ describe 'Dropdown weight', :js do
click_weight
(
2
)
click_weight
(
2
)
expect
(
page
).
to
have_css
(
js_dropdown_weight
,
visible:
false
)
expect
(
page
).
to
have_css
(
js_dropdown_weight
,
visible:
false
)
expect_tokens
([{
name:
'
w
eight'
,
value:
'2'
}])
expect_tokens
([{
name:
'
W
eight'
,
value:
'2'
}])
expect_filtered_search_input_empty
expect_filtered_search_input_empty
end
end
...
@@ -78,7 +78,7 @@ describe 'Dropdown weight', :js do
...
@@ -78,7 +78,7 @@ describe 'Dropdown weight', :js do
click_weight
(
3
)
click_weight
(
3
)
expect
(
page
).
to
have_css
(
js_dropdown_weight
,
visible:
false
)
expect
(
page
).
to
have_css
(
js_dropdown_weight
,
visible:
false
)
expect_tokens
([{
name:
'
w
eight'
,
value:
'3'
}])
expect_tokens
([{
name:
'
W
eight'
,
value:
'3'
}])
expect_filtered_search_input_empty
expect_filtered_search_input_empty
end
end
...
@@ -86,7 +86,7 @@ describe 'Dropdown weight', :js do
...
@@ -86,7 +86,7 @@ describe 'Dropdown weight', :js do
click_static_weight
(
'No Weight'
)
click_static_weight
(
'No Weight'
)
expect
(
page
).
to
have_css
(
js_dropdown_weight
,
visible:
false
)
expect
(
page
).
to
have_css
(
js_dropdown_weight
,
visible:
false
)
expect_tokens
([{
name:
'
w
eight'
,
value:
'none'
}])
expect_tokens
([{
name:
'
W
eight'
,
value:
'none'
}])
expect_filtered_search_input_empty
expect_filtered_search_input_empty
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