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
Léo-Paul Géneau
gitlab-ce
Commits
915b5547
Commit
915b5547
authored
Jan 23, 2018
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add specific views / selectors for QA runners page
parent
41498864
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
app/views/ci/runner/_how_to_setup_runner.html.haml
app/views/ci/runner/_how_to_setup_runner.html.haml
+1
-1
qa/qa/page/project/settings/runners.rb
qa/qa/page/project/settings/runners.rb
+13
-3
No files found.
app/views/ci/runner/_how_to_setup_runner.html.haml
View file @
915b5547
...
...
@@ -8,7 +8,7 @@
=
(
_
(
"(checkout the %{link} for information on how to install it)."
)
%
{
link:
link
}).
html_safe
%li
=
_
(
"Specify the following URL during the Runner setup:"
)
%code
=
root_url
(
only_path:
false
)
%code
#coordinator_address
=
root_url
(
only_path:
false
)
%li
=
_
(
"Use the following registration token during setup:"
)
%code
#registration_token
=
registration_token
...
...
qa/qa/page/project/settings/runners.rb
View file @
915b5547
...
...
@@ -3,14 +3,24 @@ module QA
module
Project
module
Settings
class
Runners
<
Page
::
Base
view
'app/views/ci/runner/_how_to_setup_runner.html.haml'
do
element
:registration_token
,
'%code#registration_token'
element
:coordinator_address
,
'%code#coordinator_address'
end
##
# TODO, phase-out CSS classes from Ruby helpers.
#
view
'app/helpers/runners_helper.rb'
do
element
:runner_status
,
'runner-status-#{status}'
end
def
registration_token
find
(
'code#registration_token'
).
text
end
def
coordinator_address
# TODO, this needs a specific ID or QA class
#
all
(
'code'
).
first
.
text
find
(
'code#coordinator_address'
).
text
end
def
has_online_runner?
...
...
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