Commit 32839e46 authored by Robert Lyon's avatar Robert Lyon

Bug 1750932: Adjustment of the failing create_page.feature

Change-Id: I88281b042411826d066d84dc687535103372d374
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 59605f75
......@@ -187,6 +187,16 @@ class BehatNavigation extends BehatBase {
$this->i_expand_node($element);
}
/**
* Collapse the selected node that matches the text which is located inside the second element.
*
* @Given /^I collapse "(?P<element_string>(?:[^"]|\\")*)" node in the "(?P<element_container_string>(?:[^"]|\\")*)" "(?P<text_selector_string>[^"]*)"$/
* @Given I collapse :element node in the :property property
*/
public function i_collapse_node_in_the($element = null, $nodeelement = null, $nodeselectortype = null, $property = null) {
$this->i_expand_node_in_the($element, $nodeelement, $nodeselectortype, $property);
}
/**
* Expands the selected node that matches the text which is located inside the second element.
*
......
......@@ -35,6 +35,8 @@ Scenario: Creating a page with content in it (Bug 1426983)
And I follow "Recent journal entries"
And I press "Add"
And I press "Save"
And I scroll to the base of id "block-category-blog"
And I collapse "Journals" node in the "blocktype sidebar" property
# Adding profile info block
And I expand "Personal info" node in the "blocktype sidebar" property
And I follow "Profile information"
......
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