Skip to content

Commit

Permalink
Merge pull request #235 from plone/fix_robot
Browse files Browse the repository at this point in the history
Capture screen to debug
  • Loading branch information
davisagli authored Mar 25, 2024
2 parents 985161b + 64645a1 commit 1bf936b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/235.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add capture screen in robot tests to debug. @wesleybl
2 changes: 2 additions & 0 deletions plone/app/discussion/tests/robot/test_moderation.robot
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ I add a comment and delete it
Wait Until Keyword Succeeds 5x 1s Select And Check xpath://select[@name='form.select.BulkAction'] delete
Select Checkbox name=check_all
Sleep 1s
# FIXME: Capture screen to debug. Must be removed when the test is fixed.
Capture Page Screenshot
Wait For Then Click Element css=button[name="form.button.BulkAction"]
Wait Until Page Does Not Contain This is a comment

Expand Down

0 comments on commit 1bf936b

Please sign in to comment.