From b45ff8b856422a387b338722fd4a182687862cc3 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Fri, 27 Feb 2015 14:40:44 +0000 Subject: [PATCH] MDL-49335 Behat: new question selector So you can say things like And I click on "True" "radio" in the "First question" "question" --- lib/behat/classes/behat_selectors.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/behat/classes/behat_selectors.php b/lib/behat/classes/behat_selectors.php index 74de1714714..5fd807e9351 100644 --- a/lib/behat/classes/behat_selectors.php +++ b/lib/behat/classes/behat_selectors.php @@ -45,6 +45,7 @@ class behat_selectors { 'dialogue' => 'dialogue', 'fieldset' => 'fieldset', 'list_item' => 'list_item', + 'question' => 'question', 'region' => 'region', 'section' => 'section', 'table' => 'table', @@ -71,6 +72,7 @@ class behat_selectors { 'list_item' => 'list_item', 'optgroup' => 'optgroup', 'option' => 'option', + 'question' => 'question', 'radio' => 'radio', 'region' => 'region', 'section' => 'section', @@ -113,6 +115,10 @@ XPATH XPATH , 'list_item' => << << <<