diff --git a/spec/system/page_objects/components/dialog.rb b/spec/system/page_objects/components/dialog.rb index ae5e7ea3e08..bc11ddf886e 100644 --- a/spec/system/page_objects/components/dialog.rb +++ b/spec/system/page_objects/components/dialog.rb @@ -19,6 +19,8 @@ module PageObjects find(".dialog-footer .btn-primary").click end + alias click_ok click_yes + def click_no find(".dialog-footer .btn-default").click end