Skip to content

Commit

Permalink
MDL-64676 core_message: fix legacy behat step which failed on firefox
Browse files Browse the repository at this point in the history
Old step was looking for a link, which didn't exist. Now, we use image.
  • Loading branch information
snake committed Apr 26, 2019
1 parent 694ce91 commit ca264ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions message/tests/behat/behat_message.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ public function i_view_contact_in_messages($userfullname) {
);
$this->execute('behat_general::i_click_on_in_the',
array(
$this->escape($userfullname),
"link",
"//img[@title='Picture of ". $this->escape($userfullname) . "']",
"xpath_element",
"//*[@data-region='message-drawer']//*[@data-region='view-contact']",
"xpath_element",
)
Expand Down

0 comments on commit ca264ee

Please sign in to comment.