Commit c7166a4c authored by Eulyeon Ko's avatar Eulyeon Ko

Remove wait_for_sidebar method

The method is not necessary because
animations are disabled during feature spec runs.
parent 25f55dc4
......@@ -5,14 +5,5 @@ module BoardHelpers
within card do
first('.board-card-number').click
end
wait_for_sidebar
end
def wait_for_sidebar
# loop until the CSS transition is complete
Timeout.timeout(0.5) do
loop until evaluate_script('$(".right-sidebar").outerWidth()') == 290
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