Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Locales dropdown' => ['css' => '.attribute-edit-actions .locale-switcher'], 'Channel dropdown' => ['css' => '.attribute-edit-actions .scope-switcher']]);
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Locales dropdown' => ['css' => '#locale-switcher']]);
 }
Ejemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Save' => ['css' => '.ui-dialog-buttonset .btn-primary']]);
 }
Ejemplo n.º 4
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = array())
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, array('Locales dropdown' => array('css' => '#locale-switcher'), 'Locales selector' => array('css' => '#pim_product_locales'), 'Enable switcher' => array('css' => '#switch_status'), 'Image preview' => array('css' => '#lbImage'), 'Completeness' => array('css' => '#pim_enrich-product-tab-completeness'), 'Category pane' => array('css' => '#pim_enrich-product-tab-category'), 'Category tree' => array('css' => '#trees'), 'Comparison dropdown' => array('css' => '#comparison-switcher'), 'Copy selection dropdown' => array('css' => '#copy-selection-switcher'), 'Copy translations link' => array('css' => 'a#copy-selection'), 'Comment threads' => array('css' => '#comment_threads')));
 }
Ejemplo n.º 5
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge(['Locale field' => ['css' => 'pim_user_user_form[uiLocale]']], $this->elements);
 }
Ejemplo n.º 6
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Export now button' => ['css' => '.navbar-buttons .export-btn']]);
 }
Ejemplo n.º 7
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = array())
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, array('Attributes' => array('css' => '.tab-pane.tab-attribute table')));
 }
Ejemplo n.º 8
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Main context selector' => ['css' => '.tab-container .object-attributes .attribute-edit-actions'], 'Save' => ['css' => 'button.save']]);
 }
Ejemplo n.º 9
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Main context selector' => ['css' => '#attribute-buttons', 'decorators' => ['Pim\\Behat\\Decorator\\ContextSwitcherDecorator']]]);
 }
Ejemplo n.º 10
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Locales dropdown' => ['css' => '.attribute-edit-actions .locale-switcher'], 'Channel dropdown' => ['css' => '.attribute-edit-actions .scope-switcher'], 'Available attributes button' => ['css' => '.add-attribute a.select2-choice'], 'Available attributes' => ['css' => '.add-attribute', 'decorators' => ['Pim\\Behat\\Decorator\\Common\\AddAttributeDecorator']], 'Available attributes list' => ['css' => '.add-attribute .select2-results'], 'Available attributes search' => ['css' => '.add-attribute .select2-search input[type="text"]'], 'Select2 dropmask' => ['css' => '.select2-drop-mask']]);
 }
Ejemplo n.º 11
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge(['Locale field' => ['css' => 'system-locale']], $this->elements);
 }
Ejemplo n.º 12
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = array())
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, array('Attributes' => array('css' => '#attributes table'), 'Attribute as label choices' => array('css' => '#pim_enrich_family_form_attributeAsLabel')));
 }
Ejemplo n.º 13
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Locales dropdown' => ['css' => '.locale-switcher'], 'Locales selector' => ['css' => '#pim_product_locales'], 'Channel dropdown' => ['css' => '.scope-switcher'], 'Status switcher' => ['css' => '.status-switcher'], 'Image preview' => ['css' => '#lbImage'], 'Completeness' => ['css' => '.completeness-block'], 'Category pane' => ['css' => '#product-categories'], 'Category tree' => ['css' => '#trees'], 'Comparison dropdown' => ['css' => '.attribute-copy-actions'], 'Copy selection dropdown' => ['css' => '#copy-selection-switcher'], 'Copy translations link' => ['css' => 'a#copy-se-edit-formlection'], 'Comment threads' => ['css' => '.comment-threads']]);
 }
Ejemplo n.º 14
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge(['Permission' => ['css' => '#rights-action', 'decorators' => ['Pim\\Behat\\Decorator\\Permission\\PermissionDecorator']]], $this->elements);
 }
Ejemplo n.º 15
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['attribute_option_table' => ['css' => '#attribute-option-grid table'], 'attribute_options' => ['css' => '#attribute-option-grid tbody tr'], 'add_option_button' => ['css' => '#attribute-option-grid .btn.option-add']]);
 }
Ejemplo n.º 16
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Attributes' => ['css' => '.tab-pane.tab-attribute table'], 'Attribute as label choices' => ['css' => '#pim_enrich_family_form_attributeAsLabel']]);
 }
Ejemplo n.º 17
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = array())
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, array('Attribute options table' => array('css' => 'table#sortable_options'), 'Attribute options' => array('css' => 'table#sortable_options tbody tr'), 'Add option button' => array('css' => 'a.btn.add_option_link')));
 }
Ejemplo n.º 18
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge(['Category tree' => ['css' => '.jstree', 'decorators' => ['Pim\\Behat\\Decorator\\Tree\\JsTreeDecorator']], 'Available attributes' => ['css' => '.add-attribute', 'decorators' => ['Pim\\Behat\\Decorator\\Common\\AddAttributeDecorator']], 'Attribute selector' => ['css' => '.control-group.attributes', 'decorators' => ['Pim\\Behat\\Decorator\\Export\\Structure\\AttributesDecorator']]], $this->elements);
 }
Ejemplo n.º 19
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Category tree' => ['css' => '#tree', 'decorators' => ['Pim\\Behat\\Decorator\\Tree\\JsTreeDecorator']], 'Tree select' => ['css' => '#tree_select'], 'Right click menu' => ['css' => '#vakata-contextmenu']]);
 }
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Locales dropdown' => ['css' => '.attribute-edit-actions .locale-switcher'], 'Channel dropdown' => ['css' => '.attribute-edit-actions .scope-switcher'], 'Available attributes button' => ['css' => '.add-attribute a.select2-choice'], 'Available attributes list' => ['css' => '.add-attribute .select2-results'], 'Available attributes search' => ['css' => '.add-attribute .select2-search input[type="text"]'], 'Available attributes add button' => ['css' => '.add-attribute .ui-multiselect-footer button']]);
 }
Ejemplo n.º 21
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = array())
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, array('Category tree' => array('css' => '#tree'), 'Tree select' => array('css' => '#tree_select'), 'Right click menu' => array('css' => '#vakata-contextmenu')));
 }
Ejemplo n.º 22
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = array())
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, array('Roles' => array('css' => '#oro_user_user_form_rolesCollection')));
 }
Ejemplo n.º 23
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge($this->elements, ['Locales dropdown' => ['css' => '.attribute-edit-actions .locale-switcher'], 'Copy locales dropdown' => ['css' => '.attribute-copy-actions .locale-switcher'], 'Locales selector' => ['css' => '#pim_product_locales'], 'Channel dropdown' => ['css' => '.attribute-edit-actions .scope-switcher'], 'Copy channel dropdown' => ['css' => '.attribute-copy-actions .scope-switcher'], 'Copy source dropdown' => ['css' => '.attribute-copy-actions .source-switcher'], 'Status switcher' => ['css' => '.status-switcher'], 'Image preview' => ['css' => '#lbImage'], 'Completeness' => ['css' => '.completeness-block'], 'Category pane' => ['css' => '#product-categories'], 'Category tree' => ['css' => '#trees'], 'Comparison dropdown' => ['css' => '.attribute-copy-actions'], 'Copy selection dropdown' => ['css' => '.attribute-copy-actions .selection-dropdown'], 'Copy translations link' => ['css' => '.attribute-copy-actions .copy'], 'Copy actions' => ['css' => '.copy-actions'], 'Comment threads' => ['css' => '.comment-threads'], 'Meta zone' => ['css' => '.baseline > .meta'], 'Modal' => ['css' => '.modal'], 'Progress bar' => ['css' => '.progress-bar']]);
 }
Ejemplo n.º 24
0
 /**
  * {@inheritdoc}
  */
 public function __construct($session, $pageFactory, $parameters = [])
 {
     parent::__construct($session, $pageFactory, $parameters);
     $this->elements = array_merge(['ACL Group' => ['css' => '#rights-action ul li'], 'ACL Role' => ['css' => '#rights-action .acl-permission']], $this->elements);
 }