DEV: Add method for page object (#23218)

This commit is contained in:
Natalie Tay 2023-08-24 15:46:22 +08:00 committed by GitHub
parent fc93604b9e
commit bffdfbd11b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

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