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
Jérome Perrin
gitlab-ce
Commits
55fe57eb
Commit
55fe57eb
authored
Jan 05, 2017
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wait for ajax after clicking on a date
parent
cf3c6a01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
spec/features/issues_spec.rb
spec/features/issues_spec.rb
+4
-0
No files found.
spec/features/issues_spec.rb
View file @
55fe57eb
...
@@ -628,6 +628,8 @@ describe 'Issues', feature: true do
...
@@ -628,6 +628,8 @@ describe 'Issues', feature: true do
click_link
date
.
day
click_link
date
.
day
end
end
wait_for_ajax
expect
(
find
(
'.value'
).
text
).
to
have_content
date
.
strftime
(
'%b %-d, %Y'
)
expect
(
find
(
'.value'
).
text
).
to
have_content
date
.
strftime
(
'%b %-d, %Y'
)
end
end
end
end
...
@@ -640,6 +642,8 @@ describe 'Issues', feature: true do
...
@@ -640,6 +642,8 @@ describe 'Issues', feature: true do
first
(
'.ui-state-default'
).
click
first
(
'.ui-state-default'
).
click
end
end
wait_for_ajax
expect
(
page
).
to
have_no_content
'No due date'
expect
(
page
).
to
have_no_content
'No due date'
click_link
'remove due date'
click_link
'remove due date'
...
...
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