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
c0199c8d
Commit
c0199c8d
authored
Oct 06, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove flaky spec in spec/features/projects/jobs_spec.rb
This restores the changes in
1a90632c
.
parent
f6ff5265
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
spec/features/projects/jobs_spec.rb
spec/features/projects/jobs_spec.rb
+0
-4
No files found.
spec/features/projects/jobs_spec.rb
View file @
c0199c8d
...
@@ -568,12 +568,8 @@ describe 'Jobs', :clean_gitlab_redis_shared_state do
...
@@ -568,12 +568,8 @@ describe 'Jobs', :clean_gitlab_redis_shared_state do
end
end
it
'shows delayed job'
,
:js
do
it
'shows delayed job'
,
:js
do
time_diff
=
[
0
,
job
.
scheduled_at
-
Time
.
now
].
max
expect
(
page
).
to
have_content
(
job
.
detailed_status
(
user
).
illustration
[
:title
])
expect
(
page
).
to
have_content
(
'This is a scheduled to run in'
)
expect
(
page
).
to
have_content
(
'This is a scheduled to run in'
)
expect
(
page
).
to
have_content
(
"This job will automatically run after it's timer finishes."
)
expect
(
page
).
to
have_content
(
"This job will automatically run after it's timer finishes."
)
expect
(
page
).
to
have_content
(
Time
.
at
(
time_diff
).
utc
.
strftime
(
"%H:%M:%S"
))
expect
(
page
).
to
have_link
(
'Unschedule job'
)
expect
(
page
).
to
have_link
(
'Unschedule job'
)
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