1: <?php
2: namespace Azalea\Selenium\EHR\UI\Messaging;
3:
4: class MessagingViewMessage extends \Azalea\Selenium\Core\View
5: {
6: protected static $MESSAGE_ACTION_DROPDOWN_BTN = ".widget.btn_reply_more";
7: protected static $MESSAGE_REPLY_BTN = ".widget.btn_msg_reply";
8:
9: public function verify($args = array())
10: {
11: $this->byCss(".message-thread-row");
12: return true;
13: }
14:
15: public function clickMessageActionDropdown()
16: {
17: $this->clickAndWait($this->byCss(self::$MESSAGE_ACTION_DROPDOWN_BTN));
18: return true;
19: }
20:
21: public function clickReply()
22: {
23: $this->clickAndWait($this->byCss(self::$MESSAGE_REPLY_BTN));
24: return new MessagingReply($this);
25: }
26: }