diff --git a/lib/behat/classes/behat_selectors.php b/lib/behat/classes/behat_selectors.php index cd518cf7235..74de1714714 100644 --- a/lib/behat/classes/behat_selectors.php +++ b/lib/behat/classes/behat_selectors.php @@ -39,45 +39,45 @@ class behat_selectors { * @var Allowed types when using text selectors arguments. */ protected static $allowedtextselectors = array( - 'dialogue' => 'dialogue', - 'block' => 'block', - 'section' => 'section', 'activity' => 'activity', - 'region' => 'region', - 'table_row' => 'table_row', - 'list_item' => 'list_item', - 'table' => 'table', - 'fieldset' => 'fieldset', + 'block' => 'block', 'css_element' => 'css_element', - 'xpath_element' => 'xpath_element' + 'dialogue' => 'dialogue', + 'fieldset' => 'fieldset', + 'list_item' => 'list_item', + 'region' => 'region', + 'section' => 'section', + 'table' => 'table', + 'table_row' => 'table_row', + 'xpath_element' => 'xpath_element', ); /** * @var Allowed types when using selector arguments. */ protected static $allowedselectors = array( - 'dialogue' => 'dialogue', - 'block' => 'block', - 'section' => 'section', 'activity' => 'activity', - 'region' => 'region', - 'table_row' => 'table_row', - 'list_item' => 'list_item', - 'link' => 'link', + 'block' => 'block', 'button' => 'button', - 'link_or_button' => 'link_or_button', - 'select' => 'select', 'checkbox' => 'checkbox', - 'radio' => 'radio', - 'file' => 'file', - 'filemanager' => 'filemanager', - 'optgroup' => 'optgroup', - 'option' => 'option', - 'table' => 'table', + 'css_element' => 'css_element', + 'dialogue' => 'dialogue', 'field' => 'field', 'fieldset' => 'fieldset', + 'file' => 'file', + 'filemanager' => 'filemanager', + 'link' => 'link', + 'link_or_button' => 'link_or_button', + 'list_item' => 'list_item', + 'optgroup' => 'optgroup', + 'option' => 'option', + 'radio' => 'radio', + 'region' => 'region', + 'section' => 'section', + 'select' => 'select', + 'table' => 'table', + 'table_row' => 'table_row', 'text' => 'text', - 'css_element' => 'css_element', 'xpath_element' => 'xpath_element' ); @@ -90,8 +90,14 @@ class behat_selectors { * @var XPaths for moodle elements. */ protected static $moodleselectors = array( - 'text' => << << << << << << << << << << << << << << << << <<