From 843287d584ccb0dc027aa3cdc599711534f10081 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Mon, 12 Jun 2023 15:16:08 +0200 Subject: [PATCH] DEV: Increase topic_page_spec wait time (#22063) --- spec/system/topic_page_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/topic_page_spec.rb b/spec/system/topic_page_spec.rb index 3a93951a0ed..469ea9178d1 100644 --- a/spec/system/topic_page_spec.rb +++ b/spec/system/topic_page_spec.rb @@ -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