From 6181499fdae6fc41eeec7d57330e2c3602a2402b Mon Sep 17 00:00:00 2001 From: Maurits van Rees Date: Tue, 28 Jun 2016 15:08:16 +0200 Subject: [PATCH] Fixed failing location query and linkintegrity robot test. --- CHANGES.rst | 2 ++ Products/CMFPlone/tests/robot/test_linkintegrity.robot | 3 +++ Products/CMFPlone/tests/robot/test_querystring.robot | 1 + 3 files changed, 6 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index 2c32bd269b..53f63fe2e7 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -65,6 +65,8 @@ New features: Bug fixes: +- Fixed failing location query robot test. [maurits] + - Don't fail, when combining bundles and the target resource files (``BUNLDE-compiled.[min.js|css]``) do not yet exist on the filesystem. Fixes GenericSetup failing silently on import with when a to-be-compiled bundle which exists only as registry entry is processed in the ``combine-bundle`` step. [thet] diff --git a/Products/CMFPlone/tests/robot/test_linkintegrity.robot b/Products/CMFPlone/tests/robot/test_linkintegrity.robot index 0f39fbee79..a7e5735734 100644 --- a/Products/CMFPlone/tests/robot/test_linkintegrity.robot +++ b/Products/CMFPlone/tests/robot/test_linkintegrity.robot @@ -85,6 +85,7 @@ should show warning when deleting page from folder_contents Go To ${PLONE_URL}/folder_contents Wait until keyword succeeds 30 1 Page should contain element css=tr[data-id="foo"] input Click Element css=tr[data-id="foo"] input + Sleep 1 Checkbox Should Be Selected css=tr[data-id="foo"] input Wait until keyword succeeds 30 1 Page should not contain element css=#btn-delete.disabled Click Link Delete @@ -98,12 +99,14 @@ should not show warning when deleting page from folder_contents Go To ${PLONE_URL}/folder_contents Wait until page contains element css=tr[data-id="foo"] input Click Element css=tr[data-id="foo"] input + Sleep 1 Checkbox Should Be Selected css=tr[data-id="foo"] input Wait until keyword succeeds 30 1 Page should not contain element css=#btn-delete.disabled Click Link Delete Wait until page contains element css=.popover-content .btn-danger Page should not contain element css=.breach-container .breach-item Click Button Yes + Sleep 1 Wait until page contains Successfully delete items Wait until keyword succeeds 30 1 Page should not contain Element css=tr[data-id="foo"] input diff --git a/Products/CMFPlone/tests/robot/test_querystring.robot b/Products/CMFPlone/tests/robot/test_querystring.robot index a770ac7f1c..36f2e5fdac 100644 --- a/Products/CMFPlone/tests/robot/test_querystring.robot +++ b/Products/CMFPlone/tests/robot/test_querystring.robot @@ -77,6 +77,7 @@ I expect to be in Simple mode Click Element css=body open the select box titled ${NAME} + Click Element css=body Click Element css=.querystring-criteria-${NAME} .select2-container a select index type ${INDEX}