Merge pull request #5736 from Matt-Yorkley/flaky-spec-embedded

Fix flaky embedded shopping spec
This commit is contained in:
Luis Ramos
2020-07-07 09:36:27 +01:00
committed by GitHub

View File

@@ -67,6 +67,7 @@ module UIComponentHelper
def toggle_cart
page.find("#cart").click
sleep 0.3 # Allow 300ms for sidebar animation to finish
end
def wait_for_ajax