DEV: Add composer close method to composer (#23164)

This commit is contained in:
Natalie Tay 2023-08-21 18:59:15 +08:00 committed by GitHub
parent 928a6cd143
commit 4702df85b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -200,6 +200,10 @@ module PageObjects
JS
end
def close
find("#{COMPOSER_ID} .save-or-cancel .cancel").click
end
private
def emoji_preview_selector(emoji)