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
170a4b6d
Commit
170a4b6d
authored
Sep 24, 2019
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wait before job log shows something
parent
e12a355c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
qa/qa/page/project/job/show.rb
qa/qa/page/project/job/show.rb
+10
-2
No files found.
qa/qa/page/project/job/show.rb
View file @
170a4b6d
...
...
@@ -26,8 +26,16 @@ module QA::Page
end
# Reminder: You may wish to wait for a particular job status before checking output
def
output
find_element
(
:build_trace
).
text
def
output
(
wait:
5
)
result
=
''
wait
(
reload:
false
,
max:
wait
,
interval:
1
)
do
result
=
find_element
(
:build_trace
).
text
!
result
.
empty?
end
result
end
private
...
...
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