DEV: wait a bit for chat message to persist (#27830)
Internal ref t/132745
This commit is contained in:
parent
67c3f29486
commit
d2873d9775
|
@ -99,7 +99,9 @@ describe "Uploading files in chat messages", type: :system do
|
|||
expect(channel_page.messages).to have_message(
|
||||
text: "upload testing\n#{I18n.t("js.chat.uploaded_files", count: 2)}",
|
||||
persisted: true,
|
||||
wait: 5,
|
||||
)
|
||||
|
||||
expect(Chat::Message.last.uploads.count).to eq(2)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue