mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
Merge pull request #5736 from Matt-Yorkley/flaky-spec-embedded
Fix flaky embedded shopping spec
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user