diff --git a/src/collective/collectionfilter/tests/robot/keywords.robot b/src/collective/collectionfilter/tests/robot/keywords.robot index 275e25c5..f8507831 100644 --- a/src/collective/collectionfilter/tests/robot/keywords.robot +++ b/src/collective/collectionfilter/tests/robot/keywords.robot @@ -86,7 +86,6 @@ Add filter portlet Click Input "Show count" Select from List by value css=select#form-widgets-filter_type ${filter_type} Select from List by value css=select#form-widgets-input_type ${input_type} - Capture Page Screenshot Click element css=.plone-modal-footer input#form-buttons-add Wait until page contains element xpath=//div[contains(@class, 'portletAssignments')]//a[text()='${group_criteria}'] diff --git a/src/collective/collectionfilter/tests/robot/test_filterportlets.robot b/src/collective/collectionfilter/tests/robot/test_filterportlets.robot index b0217931..90b9eb04 100644 --- a/src/collective/collectionfilter/tests/robot/test_filterportlets.robot +++ b/src/collective/collectionfilter/tests/robot/test_filterportlets.robot @@ -76,12 +76,16 @@ Scenario: Hide when no options Manage portlets Add filter portlet author_name or checkboxes_dropdowns Go to ${PLONE_URL}/testcollection - Should be 3 collection results + Should be 3 collection results Should be 1 filter checkboxes Manage portlets Set Hide "author_name" + Go to ${PLONE_URL}/testcollection + Capture Page Screenshot + Log Source + Should be 3 collection results Should be 0 filter checkboxes