Skip to content

Commit

Permalink
Test for image removal in inbox
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjaustin committed Mar 30, 2024
1 parent 42c6916 commit 48a0e44
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions features/comments_and_kudos/inbox.feature
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,12 @@ Feature: Get messages in the inbox
And I go to the homepage
Then I should see "sewwiththeflo on Cat Thor's Bizarre Adventure"
And I should see "Thank you! Please go to bed."

Scenario: Reply to a comment on an admin post that contains an image
Given I have posted an admin post
And a comment "My comment" by "sewwiththeflo" on the admin post "Default Admin Post"
And a reply "My reply <img src='foo.jpg' />" by "unbeatablesg" on the admin post "Default Admin Post"
When I am logged in as "sewwiththeflo"
And I go to the homepage
Then I should see "My reply"
And I should not see "<img src='foo.jpg' />"

0 comments on commit 48a0e44

Please sign in to comment.