DEV: slightly increase wait to avoid flakey tests (#19695)

This commit is contained in:
Joffrey JAFFEUX 2023-01-03 17:14:02 +01:00 committed by GitHub
parent 179f13078e
commit b4adb806e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,7 @@ RSpec.describe "JIT messages", type: :system, js: true do
expect(page).to have_content(
I18n.t("js.chat.mention_warning.without_membership.one", username: other_user.username),
wait: 5,
)
end
end
@ -44,7 +45,7 @@ RSpec.describe "JIT messages", type: :system, js: true do
expect(page).to have_content(
I18n.t("js.chat.mention_warning.cannot_see.one", username: other_user.username),
)
wait: 5,
end
end
@ -60,6 +61,7 @@ RSpec.describe "JIT messages", type: :system, js: true do
expect(page).to have_content(
I18n.t("js.chat.mention_warning.group_mentions_disabled.one", group_name: group_1.name),
wait: 5,
)
end
end