DEV: Partially revert d1924c7328b6823167f2d713030b98d0176f20cf (#21895)

Just remove the assertions for now as they are a constant source of
tests flakiness.
This commit is contained in:
Alan Guo Xiang Tan
2023-06-02 07:35:42 +09:00
committed by GitHub
parent 0330f51d75
commit 876734bcb6
6 changed files with 7 additions and 17 deletions

View File

@ -16,7 +16,7 @@ RSpec.describe "Message errors", type: :system, js: true do
sign_in(current_user)
chat_page.visit_channel(channel)
channel_page.send_message("atoolongmessage" + "a" * max_length, check_message_presence: false)
channel_page.send_message("atoolongmessage" + "a" * max_length)
expect(page).to have_no_content("atoolongmessage")
expect(page).to have_content(I18n.t("chat.errors.message_too_long", count: max_length))