Skip to content

Commit

Permalink
DEV: fix flakey post event spec
Browse files Browse the repository at this point in the history
  • Loading branch information
pmusaraj committed Aug 8, 2024
1 parent 8bdd580 commit ea2ccd3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/system/post_event_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@

expect(page).to have_css(".discourse-post-event .status-and-creators .status.closed")

page.find(".status-and-creators .status.closed").click
# move active element away from dropdown
# so that clicking it again below always opens the dropdown
page.find("#more-dropdown").click
page.find(".item-openEvent").click
page.find("#dialog-holder .btn-primary").click
Expand Down

0 comments on commit ea2ccd3

Please sign in to comment.