DEV: Add confirm_danger to Dialog page object (#26846)
Some dialogs are dangerous...we need to accommodate that too.
This commit is contained in:
parent
792e66966c
commit
17c428aebf
|
@ -19,6 +19,10 @@ module PageObjects
|
|||
find(".dialog-footer .btn-primary").click
|
||||
end
|
||||
|
||||
def click_danger
|
||||
find(".dialog-footer .btn-danger").click
|
||||
end
|
||||
|
||||
alias click_ok click_yes
|
||||
|
||||
def click_no
|
||||
|
|
Loading…
Reference in New Issue