Skip to content

Commit

Permalink
[QOLDEV-312] create test comment before trying to delete it
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrawnCA committed Sep 4, 2023
1 parent 0db74fb commit 5145313
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/features/comments.feature
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ Feature: Comments
When I log in
And I create a datarequest
And I go to data request "$last_generated_title" comments
When I submit a comment with subject "Testing deletion" and comment "Test"
And I press the element with xpath "//a[@title='Delete comment']"
And I confirm the dialog containing "Are you sure you want to delete this comment?" if present
Then I should not see "This comment was deleted." within 2 seconds
Expand Down

0 comments on commit 5145313

Please sign in to comment.