Commit 00139d81 authored by Robert Lyon's avatar Robert Lyon

Bug 1687820: Behat step: Allow collection manage pages to remove row

behatnotneeded - test to come

Change-Id: Id30d57bf45b4ff52c60817bb71987eb7f1aa6294
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 3f51bb2a
......@@ -388,7 +388,11 @@ class BehatGeneral extends BehatBase {
" or contains(concat(' ', normalize-space(@class), ' '), concat(' ', 'list-group-item', ' ')))" .
" and contains(normalize-space(.), " . $rowtextliteral . ")]" .
"|" .
"//tr[contains(normalize-space(.), " . $rowtextliteral . ")]";
"//tr[contains(normalize-space(.), " . $rowtextliteral . ")]" .
"|" .
"//li[(contains(concat(' ', normalize-space(@class), ' '), concat(' ', 'list-group-item', ' ')))" .
" and contains(normalize-space(.), " . $rowtextliteral . ")]";
$rownode = $this->find('xpath', $xpath, $exception);
// Looking for the element DOM node inside the specified row.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment