mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-31 21:37:16 +00:00
Replace use of 'trigger' in ui_component helper
This commit is contained in:
committed by
luisramos0
parent
23fa57ff6d
commit
bba8b2020c
@@ -45,7 +45,7 @@ module UIComponentHelper
|
||||
end
|
||||
|
||||
def open_enterprise_modal(enterprise)
|
||||
page.find("a", text: enterprise.name).trigger "click"
|
||||
page.find("a", text: enterprise.name).click
|
||||
end
|
||||
|
||||
def modal_should_be_open_for(object)
|
||||
|
||||
Reference in New Issue
Block a user