diff --git a/news/238.internal b/news/238.internal new file mode 100644 index 00000000..290918c3 --- /dev/null +++ b/news/238.internal @@ -0,0 +1 @@ +Fix robot test `Add a Comment to a Document and bulk delete it` 2. @wesleybl diff --git a/plone/app/discussion/tests/robot/test_moderation.robot b/plone/app/discussion/tests/robot/test_moderation.robot index b37447f2..c44add7f 100644 --- a/plone/app/discussion/tests/robot/test_moderation.robot +++ b/plone/app/discussion/tests/robot/test_moderation.robot @@ -73,6 +73,7 @@ I add a comment and delete it Wait Until Element Is Enabled css=[name=check_all] Wait Until Element Is Visible css=[name="paths:list"] Wait Until Element Is Enabled css=[name="paths:list"] + Wait for Condition return jQuery._data( jQuery('[name=check_all]')[0], "events" ).click.length == 2 Select Checkbox name=check_all Wait Until Element Is Visible css=[name="paths:list"]:checked Wait For Then Click Element css=button[name="form.button.BulkAction"]