mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 07:23:40 +08:00
DEV: Increase topic_page_spec wait time (#22063)
This commit is contained in:
parent
589add7bb5
commit
843287d584
|
@ -16,7 +16,7 @@ describe "Topic page", type: :system do
|
|||
find("#toc-h2-testing").hover
|
||||
find("a.anchor").click
|
||||
|
||||
try_until_success(timeout: 5) do
|
||||
try_until_success(timeout: 10) do
|
||||
expect(current_url).to match("/t/#{topic.slug}/#{topic.id}#toc-h2-testing")
|
||||
end
|
||||
end
|
||||
|
@ -30,7 +30,7 @@ describe "Topic page", type: :system do
|
|||
find("#toc-h2-testing").hover
|
||||
find("a.anchor").click
|
||||
|
||||
try_until_success(timeout: 5) do
|
||||
try_until_success(timeout: 10) do
|
||||
expect(current_url).to match("/forum/t/#{topic.slug}/#{topic.id}#toc-h2-testing")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user