DEV: makes every spec use new messages helper (#23163)

It's been introduced months ago, but not everything was transitioned to it.
This commit is contained in:
Joffrey JAFFEUX
2023-08-21 16:31:58 +02:00
committed by GitHub
parent 932fd089c5
commit f179eef6ae
11 changed files with 48 additions and 75 deletions

View File

@ -16,7 +16,7 @@ RSpec.describe "Message notifications - mobile", type: :system, mobile: true do
sign_in(creator)
chat_page.visit_channel(channel)
chat_channel_page.send_message(text)
expect(chat_channel_page).to have_message(text: text)
expect(chat_channel_page.messages).to have_message(text: text)
end
context "as a user" do