mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 00:27:28 +08:00
DEV: slightly increase wait to avoid flakey tests (#19695)
This commit is contained in:
parent
179f13078e
commit
b4adb806e5
@ -23,6 +23,7 @@ RSpec.describe "JIT messages", type: :system, js: true do
|
|||||||
|
|
||||||
expect(page).to have_content(
|
expect(page).to have_content(
|
||||||
I18n.t("js.chat.mention_warning.without_membership.one", username: other_user.username),
|
I18n.t("js.chat.mention_warning.without_membership.one", username: other_user.username),
|
||||||
|
wait: 5,
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -44,7 +45,7 @@ RSpec.describe "JIT messages", type: :system, js: true do
|
|||||||
|
|
||||||
expect(page).to have_content(
|
expect(page).to have_content(
|
||||||
I18n.t("js.chat.mention_warning.cannot_see.one", username: other_user.username),
|
I18n.t("js.chat.mention_warning.cannot_see.one", username: other_user.username),
|
||||||
)
|
wait: 5,
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -60,6 +61,7 @@ RSpec.describe "JIT messages", type: :system, js: true do
|
|||||||
|
|
||||||
expect(page).to have_content(
|
expect(page).to have_content(
|
||||||
I18n.t("js.chat.mention_warning.group_mentions_disabled.one", group_name: group_1.name),
|
I18n.t("js.chat.mention_warning.group_mentions_disabled.one", group_name: group_1.name),
|
||||||
|
wait: 5,
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user