MDL-56618 behat: Fix xpath for behat
We changed the output so the test needs to match
This commit is contained in:
committed by
Dan Poltawski
parent
ebba556af7
commit
813afc6797
@@ -216,7 +216,7 @@ class behat_backup extends behat_base {
|
||||
|
||||
// Selecting the specified course (we can not call behat_forms::select_radio here as is in another behat subcontext).
|
||||
$radionode = $this->find('xpath', "//div[contains(concat(' ', normalize-space(@class), ' '), ' bcs-existing-course ')]" .
|
||||
"/descendant::div[@class='restore-course-search']" .
|
||||
"/descendant::div[contains(concat(' ', normalize-space(@class), ' '), ' restore-course-search ')]" .
|
||||
"/descendant::tr[contains(., $existingcourse)]" .
|
||||
"/descendant::input[@type='radio']");
|
||||
$radionode->click();
|
||||
|
||||
Reference in New Issue
Block a user