mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-56618 behat: Fix xpath for behat
We changed the output so the test needs to match
This commit is contained in:
parent
ebba556af7
commit
813afc6797
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue