MDL-56981 behat: Fixed xpath of radio button to contain class

This commit is contained in:
Rajesh Taneja
2016-11-16 08:14:07 +08:00
parent b4d6669dd0
commit 4ea8f814a0
+1 -1
View File
@@ -247,7 +247,7 @@ class behat_backup extends behat_base {
// The first category in the list.
$radionode = $this->find('xpath', "//div[contains(concat(' ', normalize-space(@class), ' '), ' bcs-new-course ')]" .
"/descendant::div[@class='restore-course-search']" .
"/descendant::div[contains(concat(' ', normalize-space(@class), ' '), ' restore-course-search ')]" .
"/descendant::input[@type='radio']");
$radionode->click();