Replace use of 'trigger' in ui_component helper

This commit is contained in:
Rob Harrington
2018-06-01 09:42:17 +10:00
committed by luisramos0
parent 23fa57ff6d
commit bba8b2020c

View File

@@ -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)