MDL-56981 behat: Fixed xpath of radio button to contain class
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user