Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default to a 4K x 4K browser window in Robot tests #523

Merged
merged 2 commits into from
Jun 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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