Commit 8094bcaa authored by Phil Hughes's avatar Phil Hughes

Reduced sidebar wait timeout

parent 7f8a4bbd
...@@ -321,7 +321,7 @@ describe 'Issue Boards', feature: true, js: true do ...@@ -321,7 +321,7 @@ describe 'Issue Boards', feature: true, js: true do
def wait_for_sidebar def wait_for_sidebar
# loop until the CSS transition is complete # loop until the CSS transition is complete
Timeout.timeout(Capybara.default_max_wait_time) do Timeout.timeout(0.5) do
loop until evaluate_script('$(".right-sidebar").outerWidth()') == 290 loop until evaluate_script('$(".right-sidebar").outerWidth()') == 290
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment