Skip to content

Commit

Permalink
MDL-65060 core_message: Group_message_message_content selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Amaia Anabitarte committed May 22, 2019
1 parent 2d2dfb6 commit c961389
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/behat/classes/partial_named_selector.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public function __construct() {
'group_message_member' => 'group_message_member',
'group_message_tab' => 'group_message_tab',
'group_message_list_area' => 'group_message_list_area',
'group_message_message_content' => 'group_message_message_content',
'icon' => 'icon',
'link' => 'link',
'link_or_button' => 'link_or_button',
Expand Down Expand Up @@ -174,6 +175,9 @@ public function __construct() {
XPATH
, 'group_message_list_area' => <<<XPATH
.//*[@data-region='message-drawer']//*[contains(@data-region, concat('view-overview-', %locator%))]
XPATH
, 'group_message_message_content' => <<<XPATH
.//*[@data-region='message-drawer']//*[@data-region='message' and @data-message-id and contains(., %locator%)]
XPATH
, 'icon' => <<<XPATH
.//*[contains(concat(' ', normalize-space(@class), ' '), ' icon ') and ( contains(normalize-space(@title), %locator%))]
Expand Down

0 comments on commit c961389

Please sign in to comment.