Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #345 from plone/moreshots
adding more robotshots, updating for p5
- Loading branch information
Showing
19 changed files
with
526 additions
and
489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
.. code:: robotframework | ||
*** Settings *** | ||
Resource plone/app/robotframework/server.robot | ||
Resource plone/app/robotframework/keywords.robot | ||
Resource Selenium2Screenshots/keywords.robot | ||
Library OperatingSystem | ||
Suite Setup Run keywords Suite Setup Test Setup | ||
Suite Teardown Run keywords Test teardown Suite Teardown | ||
*** Variables *** | ||
${FIXTURE} plone.app.robotframework.PLONE_ROBOT_TESTING | ||
@{DIMENSIONS} 1024 768 | ||
@{APPLY_PROFILES} plone.app.contenttypes:plone-content | ||
*** Keywords *** | ||
Suite Setup | ||
Run keyword if not sys.argv[0].startswith('bin/robot') | ||
... Setup Plone site ${FIXTURE} | ||
Run keyword if sys.argv[0].startswith('bin/robot') | ||
... Open test browser | ||
Run keyword and ignore error Set window size @{DIMENSIONS} | ||
Test Setup | ||
Import library Remote ${PLONE_URL}/RobotRemote | ||
Run keyword if sys.argv[0].startswith('bin/robot') | ||
... Remote ZODB SetUp ${FIXTURE} | ||
${language} = Get environment variable LANGUAGE 'en' | ||
Set default language ${language} | ||
Test Teardown | ||
Run keyword if sys.argv[0].startswith('bin/robot') | ||
... Remote ZODB TearDown ${FIXTURE} | ||
Suite Teardown | ||
Run keyword if not sys.argv[0].startswith('bin/robot') | ||
... Teardown Plone Site | ||
Run keyword if sys.argv[0].startswith('bin/robot') | ||
... Close all browsers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.