MDL-64664 core_message: Create more specific selector to contact menu

This commit is contained in:
cescobedo
2019-03-27 13:57:44 +01:00
parent 564ad754a8
commit d0770f8154
+4 -3
View File
@@ -194,11 +194,12 @@ class behat_message extends behat_base {
* @Given /^I open contact menu$/
*/
public function i_open_contact_menu() {
$this->execute('behat_general::i_click_on_in_the',
$this->execute('behat_general::wait_until_the_page_is_ready');
$this->execute('behat_general::i_click_on_in_the',
array(
'',
'button',
'[data-region="header-container"]',
'css_element',
'[data-region="message-drawer"] [data-region="header-container"]',
'css_element',
)
);