Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
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
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
b1642704
Commit
b1642704
authored
Sep 01, 2018
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chromium in server
parent
c6b76976
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
4 deletions
+19
-4
software/seleniumrunner/buildout.hash.cfg
software/seleniumrunner/buildout.hash.cfg
+1
-1
software/seleniumrunner/instance-selenium.cfg.in
software/seleniumrunner/instance-selenium.cfg.in
+18
-3
No files found.
software/seleniumrunner/buildout.hash.cfg
View file @
b1642704
...
...
@@ -19,4 +19,4 @@ md5sum = c4ac5de141ae6a64848309af03e51d88
[template-selenium]
filename = instance-selenium.cfg.in
md5sum =
038e124e96aff65a2ee1744db72755ab
md5sum =
7a96160536fd41b26d06faf655a11451
software/seleniumrunner/instance-selenium.cfg.in
View file @
b1642704
...
...
@@ -32,8 +32,7 @@ command-line =
-host $${:hostname}
-port $${:port}
-role hub
-browserTimeout 120
-timeout 120
-maxSession 20
--debug
hostname = $${instance-parameter:ipv4-random}
...
...
@@ -59,6 +58,7 @@ command-line =
-port $${:port}
-role node
-maxSession 100
-timeout 20
-hub $${selenium-server-hub-instance:register-url}
-capabilities $${:capabilities}
--debug
...
...
@@ -89,6 +89,14 @@ capabilities = browserName=firefox,maxInstances=3,marionette=true,platform=LINUX
java-args = -Dwebdriver.gecko.driver=${geckodriver-0.21.0:location}
port = 7779
[selenium-server-node-instance-chromium-67]
<= selenium-server-node-instance
capabilities = browserName=chrome,maxInstances=3,platform=LINUX,version=${chromium-67:version},chrome_binary=${chromium-wrapper-67:location}/chrome-slapos
java-args = -Dwebdriver.chrome.driver=${chromedriver-2.41:location}
port = 7780
[promises]
recipe =
# XXX only enable 51 & 52. They work only one time. We configure maxInstances=3 so practically
...
...
@@ -102,10 +110,11 @@ recipe =
instance-promises =
$${selenium-server-hub-listen-promise:path}
$${selenium-server-node-firefox-51-listen-promise:path}
$${selenium-server-node-firefox-52-listen-promise:path}
$${selenium-server-node-instance-chromium-67-listen-promise:path}
#XXX firefox-60 does not work at all
# $${selenium-server-node-firefox-60-listen-promise:path}
# $${selenium-server-node-firefox-51-listen-promise:path}
[check-port-listening-promise]
...
...
@@ -132,6 +141,12 @@ port = $${selenium-server-node-instance-firefox-52:port}
hostname= $${selenium-server-node-instance-firefox-60:hostname}
port = $${selenium-server-node-instance-firefox-60:port}
[selenium-server-node-instance-chromium-67-listen-promise]
<= check-port-listening-promise
hostname= $${selenium-server-node-instance-chromium-67:hostname}
port = $${selenium-server-node-instance-chromium-67:port}
[publish-connection-parameter]
recipe = slapos.cookbook:publish
url = $${selenium-server-hub-instance:url}
...
...
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