Skip to content

Commit

Permalink
Merge pull request #239 from plone/fix_robot
Browse files Browse the repository at this point in the history
Fix robot test `Add a Comment to a Document and bulk delete it` 3
  • Loading branch information
wesleybl authored Apr 16, 2024
2 parents 7b7947e + 44e4b75 commit 13bad67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/239.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix robot test `Add a Comment to a Document and bulk delete it` 3. @wesleybl
2 changes: 1 addition & 1 deletion plone/app/discussion/tests/robot/test_moderation.robot
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +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
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"]
Expand Down

0 comments on commit 13bad67

Please sign in to comment.