A platform for community discussion. Free, open, simple.
DEV: Fix a PM spec flake (#36595)
Jarek Radosz9f418c40bc2f
diff --git a/spec/system/private_message_spec.rb b/spec/system/private_message_spec.rbindex 8a9def75719..001d04b6ebe 100644--- a/spec/system/private_message_spec.rb+++ b/spec/system/private_message_spec.rb@@ -17,7 +17,8 @@ describe "Private Message", type: :system dopm_post.topic.remove_allowed_user(sender, recipient)- expect(page).to have_current_path("/u/#{recipient.username}/messages")+ try_until_success { expect(page).to have_current_path("/u/#{recipient.username}/messages") }+expect(page).to have_no_css("h1", text: pm_post.topic.title)endend