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
a08b868e
Commit
a08b868e
authored
Mar 19, 2019
by
ddavison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the job#successful? method wait by refreshing
parent
535bd574
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
qa/qa/page/project/job/show.rb
qa/qa/page/project/job/show.rb
+5
-1
No files found.
qa/qa/page/project/job/show.rb
View file @
a08b868e
# frozen_string_literal: true
module
QA::Page
module
Project::Job
class
Show
<
QA
::
Page
::
Base
...
...
@@ -31,7 +33,9 @@ module QA::Page
private
def
loaded?
(
wait:
60
)
has_element?
(
:build_trace
,
wait:
wait
)
wait
(
reload:
true
,
max:
wait
,
interval:
1
)
do
has_element?
(
:build_trace
,
wait:
1
)
end
end
def
completed?
(
timeout:
60
)
...
...
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