diff --git a/plugins/discourse-narrative-bot/spec/system/user_spec.rb b/plugins/discourse-narrative-bot/spec/system/user_spec.rb index 82853ed28bc..a46b45ed3b2 100644 --- a/plugins/discourse-narrative-bot/spec/system/user_spec.rb +++ b/plugins/discourse-narrative-bot/spec/system/user_spec.rb @@ -11,12 +11,14 @@ describe "Narrative Bot PM", type: :system do Jobs.run_immediately! SiteSetting.enable_user_tips = true SiteSetting.discourse_narrative_bot_enabled = true - # shortcut to generate welcome post since we're not going through user creation or first login - user.enqueue_bot_welcome_post end it "does not delete the narrative bot PM when skipping all tips" do sign_in user + + # shortcut to generate welcome post since we're not going through user creation or first login + user.enqueue_bot_welcome_post + visit "/" tooltip = PageObjects::Components::Tooltips.new("user-tip")