Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
813afc67
Commit
813afc67
authored
Nov 15, 2016
by
Damyon Wiese
Committed by
Dan Poltawski
Nov 15, 2016
Browse files
MDL-56618 behat: Fix xpath for behat
We changed the output so the test needs to match
parent
ebba556a
Changes
1
Hide whitespace changes
Inline
Side-by-side
backup/util/ui/tests/behat/behat_backup.php
View file @
813afc67
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment