Skip to content

Commit

Permalink
Use the shared test setup and test teardown keywords in Robot tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotonen committed May 14, 2019
1 parent 9ccfd68 commit 9a335e0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
3 changes: 3 additions & 0 deletions news/349.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Use the shared 'Plone test setup' and 'Plone test teardown' keywords in Robot
tests.
[Rotonen]
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
*** Settings ***

Resource plone/app/robotframework/selenium.robot
Resource plone/app/robotframework/keywords.robot
Resource plone/app/robotframework/saucelabs.robot
Resource plone/app/robotframework/selenium.robot
Resource Products/CMFPlone/tests/robot/keywords.robot

Library Remote ${PLONE_URL}/RobotRemote

Test Setup Setup test browser
Test Teardown Close all browsers
Test Setup Run Keywords Plone test setup
Test Teardown Run keywords Plone test teardown

*** Test Cases ***

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
*** Settings ***

Resource plone/app/robotframework/selenium.robot
Resource plone/app/robotframework/keywords.robot
Resource plone/app/robotframework/saucelabs.robot
Resource plone/app/robotframework/selenium.robot

Library Remote ${PLONE_URL}/RobotRemote

Test Setup Open test browser
Test Teardown Close all browsers
Test Setup Run Keywords Plone test setup
Test Teardown Run keywords Plone test teardown


*** Test Cases ***
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
*** Settings ***

Resource plone/app/robotframework/selenium.robot
Resource plone/app/robotframework/keywords.robot
Resource plone/app/robotframework/saucelabs.robot
Resource plone/app/robotframework/selenium.robot

Library Remote ${PLONE_URL}/RobotRemote

Test Setup Open test browser
Test Teardown Close all browsers
Test Setup Run Keywords Plone test setup
Test Teardown Run keywords Plone test teardown


*** Test Cases ***
Expand Down

0 comments on commit 9a335e0

Please sign in to comment.