mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-64676 core_message: fix legacy behat step which failed on firefox
Old step was looking for a link, which didn't exist. Now, we use image.
This commit is contained in:
parent
694ce91725
commit
ca264ee670
@ -90,8 +90,8 @@ class behat_message extends behat_base {
|
||||
);
|
||||
$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",
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user