예제 #1
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Categories tree' => ['css' => '#tree'], 'Main context selector' => ['css' => '#container', 'decorators' => ['Pim\\Behat\\Decorator\\ContextSwitcherDecorator']], 'Tree select' => ['css' => '#tree_select'], 'Locales dropdown' => ['css' => '#locale-switcher'], 'Sidebar collapse button' => ['css' => '.sidebar .sidebar-controls i.icon-double-angle-left'], 'Sidebar expand button' => ['css' => '.separator.collapsed i.icon-double-angle-right']]);
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Categories tree' => ['css' => '#tree'], 'Tree select' => ['css' => '#tree_select'], 'Locales dropdown' => ['css' => '#locale-switcher']]);
 }
예제 #3
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Categories tree' => ['css' => '#tree'], 'Main context selector' => ['css' => '#container', 'decorators' => ['Pim\\Behat\\Decorator\\ContextSwitcherDecorator']], 'Tree select' => ['css' => '#tree_select'], 'Locales dropdown' => ['css' => '#locale-switcher']]);
 }