Skip to content

Commit

Permalink
Merge pull request #226 from plone/fix_robot
Browse files Browse the repository at this point in the history
Fix test "Add a Comment to a Document and bulk delete it"
  • Loading branch information
jensens authored Mar 7, 2024
2 parents b8f6c16 + f5422a4 commit 5fa2bfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/226.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix test "Add a Comment to a Document and bulk delete it". @wesleybl
3 changes: 2 additions & 1 deletion plone/app/discussion/tests/robot/test_moderation.robot
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,12 @@ I add a comment and delete it
Wait until page contains element name=form.select.BulkAction
Select from list by value xpath://select[@name='form.select.BulkAction'] delete
Select Checkbox name=check_all
Click Button Apply
Wait For Then Click Element css=button[name="form.button.BulkAction"]
Wait Until Page Does Not Contain This is a comment

workflow multiple enabled
Go To ${PLONE_URL}/@@content-controlpanel?type_id=Discussion%20Item&new_workflow=comment_review_workflow
Execute Javascript window.scroll(0, 2000)
Click Button Save

# Then
Expand Down

0 comments on commit 5fa2bfb

Please sign in to comment.