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
Léo-Paul Géneau
gitlab-ce
Commits
53281e09
Commit
53281e09
authored
Nov 01, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add slow_requests! to filtered search tests which expect to see a loading spinner
parent
3f3875db
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
0 deletions
+10
-0
spec/features/issues/filtered_search/dropdown_assignee_spec.rb
...features/issues/filtered_search/dropdown_assignee_spec.rb
+2
-0
spec/features/issues/filtered_search/dropdown_author_spec.rb
spec/features/issues/filtered_search/dropdown_author_spec.rb
+2
-0
spec/features/issues/filtered_search/dropdown_emoji_spec.rb
spec/features/issues/filtered_search/dropdown_emoji_spec.rb
+2
-0
spec/features/issues/filtered_search/dropdown_label_spec.rb
spec/features/issues/filtered_search/dropdown_label_spec.rb
+2
-0
spec/features/issues/filtered_search/dropdown_milestone_spec.rb
...eatures/issues/filtered_search/dropdown_milestone_spec.rb
+2
-0
No files found.
spec/features/issues/filtered_search/dropdown_assignee_spec.rb
View file @
53281e09
...
...
@@ -43,9 +43,11 @@ describe 'Dropdown assignee', :js do
end
it
'should show loading indicator when opened'
do
Gitlab
::
Testing
::
RequestBlockerMiddleware
.
slow_requests!
filtered_search
.
set
(
'assignee:'
)
expect
(
page
).
to
have_css
(
'#js-dropdown-assignee .filter-dropdown-loading'
,
visible:
true
)
Gitlab
::
Testing
::
RequestBlockerMiddleware
.
allow_requests!
end
it
'should hide loading indicator when loaded'
do
...
...
spec/features/issues/filtered_search/dropdown_author_spec.rb
View file @
53281e09
...
...
@@ -51,9 +51,11 @@ describe 'Dropdown author', :js do
end
it
'should show loading indicator when opened'
do
Gitlab
::
Testing
::
RequestBlockerMiddleware
.
slow_requests!
filtered_search
.
set
(
'author:'
)
expect
(
page
).
to
have_css
(
'#js-dropdown-author .filter-dropdown-loading'
,
visible:
true
)
Gitlab
::
Testing
::
RequestBlockerMiddleware
.
allow_requests!
end
it
'should hide loading indicator when loaded'
do
...
...
spec/features/issues/filtered_search/dropdown_emoji_spec.rb
View file @
53281e09
...
...
@@ -70,9 +70,11 @@ describe 'Dropdown emoji', :js do
end
it
'should show loading indicator when opened'
do
Gitlab
::
Testing
::
RequestBlockerMiddleware
.
slow_requests!
filtered_search
.
set
(
'my-reaction:'
)
expect
(
page
).
to
have_css
(
'#js-dropdown-my-reaction .filter-dropdown-loading'
,
visible:
true
)
Gitlab
::
Testing
::
RequestBlockerMiddleware
.
allow_requests!
end
it
'should hide loading indicator when loaded'
do
...
...
spec/features/issues/filtered_search/dropdown_label_spec.rb
View file @
53281e09
...
...
@@ -66,10 +66,12 @@ describe 'Dropdown label', :js do
end
it
'shows loading indicator when opened and hides it when loaded'
do
Gitlab
::
Testing
::
RequestBlockerMiddleware
.
slow_requests!
filtered_search
.
set
(
'label:'
)
expect
(
page
).
to
have_css
(
"
#{
js_dropdown_label
}
.filter-dropdown-loading"
,
visible:
true
)
expect
(
find
(
js_dropdown_label
)).
not_to
have_css
(
'.filter-dropdown-loading'
)
Gitlab
::
Testing
::
RequestBlockerMiddleware
.
allow_requests!
end
it
'loads all the labels when opened'
do
...
...
spec/features/issues/filtered_search/dropdown_milestone_spec.rb
View file @
53281e09
...
...
@@ -50,9 +50,11 @@ describe 'Dropdown milestone', :js do
end
it
'should show loading indicator when opened'
do
Gitlab
::
Testing
::
RequestBlockerMiddleware
.
slow_requests!
filtered_search
.
set
(
'milestone:'
)
expect
(
page
).
to
have_css
(
'#js-dropdown-milestone .filter-dropdown-loading'
,
visible:
true
)
Gitlab
::
Testing
::
RequestBlockerMiddleware
.
allow_requests!
end
it
'should hide loading indicator when loaded'
do
...
...
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