A platform for community discussion. Free, open, simple.
DEV: Increase topic_page_spec wait time (#22063)
Jarek Radosz843287d584cc
diff --git a/spec/system/topic_page_spec.rb b/spec/system/topic_page_spec.rbindex 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 dofind("#toc-h2-testing").hoverfind("a.anchor").click- try_until_success(timeout: 5) do+ try_until_success(timeout: 10) doexpect(current_url).to match("/t/#{topic.slug}/#{topic.id}#toc-h2-testing")endend@@ -30,7 +30,7 @@ describe "Topic page", type: :system dofind("#toc-h2-testing").hoverfind("a.anchor").click- try_until_success(timeout: 5) do+ try_until_success(timeout: 10) doexpect(current_url).to match("/forum/t/#{topic.slug}/#{topic.id}#toc-h2-testing")endend