DEV: Increase topic_page_spec wait time (#22063)

This commit is contained in:
Jarek Radosz
2023-06-12 15:16:08 +02:00
committed by GitHub
parent 589add7bb5
commit 843287d584

View File

@@ -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