mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 12:04:41 +08:00
DEV: Adds click_ok method on system spec dialog component (#26355)
This commit is contained in:
@ -19,6 +19,8 @@ module PageObjects
|
|||||||
find(".dialog-footer .btn-primary").click
|
find(".dialog-footer .btn-primary").click
|
||||||
end
|
end
|
||||||
|
|
||||||
|
alias click_ok click_yes
|
||||||
|
|
||||||
def click_no
|
def click_no
|
||||||
find(".dialog-footer .btn-default").click
|
find(".dialog-footer .btn-default").click
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user