Skip to content

Commit

Permalink
Merge pull request #4 from jjmurre/4.1-robot
Browse files Browse the repository at this point in the history
Added the selenium.jar customization.
  • Loading branch information
lentinj committed Nov 7, 2011
2 parents 4f66292 + 7fcc18c commit 0a7977f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.installed.cfg
.mr.developer.cfg
acceptance-tests/library-settings.txt
*.swp
bin
develop-eggs
include
Expand Down
2 changes: 1 addition & 1 deletion acceptance-tests/plone.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Capture Page Screenshot
Resource library-settings.txt

*** Variables ***

Expand Down
13 changes: 12 additions & 1 deletion pybot.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[buildout]
extensions = mr.developer
parts += plonesite robot
parts += plonesite robot selenium library-settings
extends = buildout.cfg
find-links = http://packages.affinitic.be/simple
versions = versions
Expand All @@ -26,3 +26,14 @@ site-id = Plone
recipe = zc.recipe.egg
eggs = robotframework
robotframework-seleniumlibrary

[selenium]
recipe = hexagonit.recipe.download
download-only = true
url = http://selenium.googlecode.com/files/selenium-server-standalone-2.11.0.jar
filename = selenium-server.jar

[library-settings]
recipe = collective.recipe.template
input = templates/library-settings.txt.in
output = ${buildout:directory}/acceptance-tests/library-settings.txt
4 changes: 4 additions & 0 deletions templates/library-settings.txt.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This is autogenerated, do not change !!

*** Settings ***
Library SeleniumLibrary run_on_failure=Capture Page Screenshot jar_path=${selenium:location}/${selenium:filename}
2 changes: 1 addition & 1 deletion var/README.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
This directory contains the Data.fs ZODB data storage, and other runtime files
This directory contains the Data.fs ZODB data storage, and other runtime files.

0 comments on commit 0a7977f

Please sign in to comment.