Skip to content

Commit

Permalink
Merge pull request #523 from plone/roto-window-resize-huge
Browse files Browse the repository at this point in the history
Default to a 4K x 4K browser window in Robot tests
  • Loading branch information
mauritsvanrees authored Jun 14, 2019
2 parents ffd92e1 + 002e4cd commit 9e26cb6
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 111 deletions.
3 changes: 3 additions & 0 deletions news/522.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]
99 changes: 0 additions & 99 deletions plone/app/contenttypes/tests/robot/contenttypes_keywords.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@

Resource plone/app/robotframework/keywords.robot
Resource plone/app/robotframework/saucelabs.robot
Resource plone/app/robotframework/selenium.robot
Resource plone/app/contenttypes/tests/robot/keywords.txt

Library Remote ${PLONE_URL}/RobotRemote

Test Setup Open SauceLabs test browser
Test Teardown Run keywords Report test status 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
Expand Up @@ -11,12 +11,14 @@
*** Settings *****************************************************************

Resource plone/app/robotframework/keywords.robot
Resource plone/app/robotframework/saucelabs.robot
Resource plone/app/robotframework/selenium.robot
Resource plone/app/contenttypes/tests/robot/keywords.txt

Variables plone/app/contenttypes/tests/robot/variables.py

Test Setup Run keywords 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
Expand Up @@ -11,10 +11,12 @@
*** Settings *****************************************************************

Resource plone/app/robotframework/keywords.robot
Resource plone/app/robotframework/saucelabs.robot
Resource plone/app/robotframework/selenium.robot
Resource plone/app/contenttypes/tests/robot/keywords.txt

Test Setup Run keywords 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
Expand Up @@ -11,10 +11,12 @@
*** Settings *****************************************************************

Resource plone/app/robotframework/keywords.robot
Resource plone/app/robotframework/saucelabs.robot
Resource plone/app/robotframework/selenium.robot
Resource plone/app/contenttypes/tests/robot/keywords.txt

Test Setup Run keywords 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
Expand Up @@ -11,10 +11,12 @@
*** Settings *****************************************************************

Resource plone/app/robotframework/keywords.robot
Resource plone/app/robotframework/saucelabs.robot
Resource plone/app/robotframework/selenium.robot
Resource plone/app/contenttypes/tests/robot/keywords.txt

Test Setup Run keywords 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
7 changes: 5 additions & 2 deletions plone/app/contenttypes/tests/robot/test_folderlisting.robot
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
*** Settings ***

Resource plone/app/robotframework/keywords.robot
Resource plone/app/robotframework/saucelabs.robot
Resource plone/app/robotframework/selenium.robot
Resource plone/app/contenttypes/tests/robot/keywords.txt

Variables plone/app/contenttypes/tests/robot/variables.py

Test Setup Run keywords Setup Testcontent Open test browser
Test Teardown Close all browsers

Test Setup Run Keywords Setup Testcontent Plone test setup
Test Teardown Run keywords Plone test teardown

*** Variables ***

Expand Down

0 comments on commit 9e26cb6

Please sign in to comment.