Skip to content

Commit

Permalink
Fixed spec
Browse files Browse the repository at this point in the history
  • Loading branch information
megothss committed Dec 23, 2024
1 parent ec60ddf commit 9dc663a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/system/raw_post_button_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
sign_in user
visit "/t/#{post.topic_id}"


# test if the button is hidden by default
expect(page).to have_no_css(".post-controls .actions .post-action-menu__raw-post")

# expand the buttons and click in raw post
find(".post-controls .actions .post-action-menu__show-more").click
find(".post-controls .actions .post-action-menu__raw-post").click

expect(page).to have_css(".fullscreen-code-modal")
Expand Down

0 comments on commit 9dc663a

Please sign in to comment.