mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
DEV: Add method for page object (#23218)
This commit is contained in:
parent
fc93604b9e
commit
bffdfbd11b
|
@ -152,6 +152,11 @@ module PageObjects
|
|||
end
|
||||
end
|
||||
|
||||
def click_footer_reply
|
||||
find("#topic-footer-buttons .btn-primary", text: "Reply").click
|
||||
self
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def topic_footer_button_id(button)
|
||||
|
|
Loading…
Reference in New Issue
Block a user