BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
af97988a
Commit
af97988a
authored
Jun 12, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use wait_for_ajax instead of wait_for_requests
parent
4ba257b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
form_spec.rb
spec/features/issues/form_spec.rb
+1
-1
issue_sidebar_spec.rb
spec/features/issues/issue_sidebar_spec.rb
+1
-1
No files found.
spec/features/issues/form_spec.rb
View file @
af97988a
...
@@ -63,7 +63,7 @@ describe 'New/edit issue', feature: true, js: true do
...
@@ -63,7 +63,7 @@ describe 'New/edit issue', feature: true, js: true do
click_button
'Unassigned'
click_button
'Unassigned'
wait_for_
requests
wait_for_
ajax
end
end
it
'should display selected users even if they are not part of the original API call'
do
it
'should display selected users even if they are not part of the original API call'
do
...
...
spec/features/issues/issue_sidebar_spec.rb
View file @
af97988a
...
@@ -61,7 +61,7 @@ feature 'Issue Sidebar', feature: true do
...
@@ -61,7 +61,7 @@ feature 'Issue Sidebar', feature: true do
it
'keeps your filtered term after filtering and dismissing the dropdown'
do
it
'keeps your filtered term after filtering and dismissing the dropdown'
do
find
(
'.dropdown-input-field'
).
native
.
send_keys
user2
.
name
find
(
'.dropdown-input-field'
).
native
.
send_keys
user2
.
name
wait_for_
requests
wait_for_
ajax
page
.
within
'.dropdown-menu-user'
do
page
.
within
'.dropdown-menu-user'
do
expect
(
page
).
not_to
have_content
'Unassigned'
expect
(
page
).
not_to
have_content
'Unassigned'
...
...
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