@@ -681,8 +681,7 @@ class VarbaseContext extends RawDrupalContext implements SnippetAcceptingContext
*
* @Then I select the :arg1 container type
*/
publicfunctioniSelectTheContainerType($name)
{
publicfunctioniSelectTheContainerType($name){
$element=$this->getSession()->getPage()->find('xpath',"//label[contains(.,'$name') and contains(@for, 'edit-layout-settings-ui-tab-content-layout-container-type')]");
$element->click();
}
@@ -697,13 +696,11 @@ class VarbaseContext extends RawDrupalContext implements SnippetAcceptingContext
*
* @Then I select the :arg1 container width
*/
publicfunctioniSelectTheContainerWidth($width)
{
publicfunctioniSelectTheContainerWidth($width){
$element=$this->getSession()->getPage()->find('xpath',"//label[contains(.,'$width') and contains(@for, 'edit-layout-settings-ui-tab-content-layout-container-width')]");
$element->click();
}
/**
* Select a section breakpoint
*
@@ -715,15 +712,11 @@ class VarbaseContext extends RawDrupalContext implements SnippetAcceptingContext
*
* @Then I select the :arg1 :arg2 breakpoint
*/
publicfunctioniSelectTheBreakpoint($size,$point)
{
publicfunctioniSelectTheBreakpoint($size,$point){
$element=$this->getSession()->getPage()->find('xpath',"//*[contains(@class,'$size') and contains(.,'$point')]");
$element->click();
}
/**
* Select with gutters option for section
*
@@ -733,15 +726,11 @@ class VarbaseContext extends RawDrupalContext implements SnippetAcceptingContext