Skip to content
Permalink
Browse files

MDL-56618 behat: Fix xpath for behat

We changed the output so the test needs to match
  • Loading branch information...
damyon authored and danpoltawski committed Nov 15, 2016
1 parent ebba556 commit 813afc679783b10b48db4debd13ca47c46f6325a
Showing with 1 addition and 1 deletion.
  1. +1 −1 backup/util/ui/tests/behat/behat_backup.php
@@ -216,7 +216,7 @@ public function i_restore_backup_into_course_using_this_options($backupfilename,
// 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();

0 comments on commit 813afc6

Please sign in to comment.
You can’t perform that action at this time.