/** * {@inheritdoc} */ public function __construct($session, $pageFactory, $parameters = []) { parent::__construct($session, $pageFactory, $parameters); $this->elements = array_merge($this->elements, ['Copy locales dropdown' => ['css' => '.attribute-copy-actions .locale-switcher'], 'Locales selector' => ['css' => '#pim_product_locales'], '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-panel', 'decorators' => ['Pim\\Behat\\Decorator\\Completeness\\PanelDecorator']], 'Category pane' => ['css' => '#product-categories'], 'Category tree' => ['css' => '#trees', 'decorators' => ['Pim\\Behat\\Decorator\\Tree\\JsTreeDecorator']], 'Copy actions' => ['css' => '.copy-actions'], 'Comment threads' => ['css' => '.comment-threads'], 'Meta zone' => ['css' => '.baseline > .meta'], 'Modal' => ['css' => '.modal'], 'Progress bar' => ['css' => '.progress-bar'], 'Save' => ['css' => '.save'], 'Attribute tab' => ['css' => '.tab-container .object-attributes', 'decorators' => ['Pim\\Behat\\Decorator\\Tab\\ComparableTabDecorator']], 'Comparison panel' => ['css' => '.tab-container .attribute-actions .attribute-copy-actions', 'decorators' => ['Pim\\Behat\\Decorator\\ContextSwitcherDecorator', 'Pim\\Behat\\Decorator\\TabElement\\ComparisonPanelDecorator']], 'Main context selector' => ['css' => '.tab-container .attribute-edit-actions .context-selectors', 'decorators' => ['Pim\\Behat\\Decorator\\ContextSwitcherDecorator']]]); }
/** * @param Session $session * @param PageFactoryInterface $pageFactory * @param array $parameters */ public function __construct($session, $pageFactory, $parameters = []) { parent::__construct($session, $pageFactory, $parameters); $this->elements = array_merge($this->elements, ['Next' => ['css' => '.configuration .btn-primary'], 'Confirm' => ['css' => '.confirmation .btn-primary'], 'Available attributes form' => ['css' => '#pim_enrich_mass_edit_choose_action_operation_displayedAttributes']]); }
/** * {@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'], 'Save' => ['css' => 'button.save-product']]); }
/** * {@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 .context-selectors', 'decorators' => ['Pim\\Behat\\Decorator\\ContextSwitcherDecorator']], 'Save' => ['css' => 'button.save']]); }
/** * @param Session $session * @param PageFactoryInterface $pageFactory * @param array $parameters */ public function __construct($session, $pageFactory, $parameters = []) { parent::__construct($session, $pageFactory, $parameters); $this->elements = array_merge($this->elements, ['Next' => ['css' => '.configuration .btn-primary'], 'Confirm' => ['css' => '.confirmation .btn-primary'], 'Available attributes form' => ['css' => '#pim_enrich_mass_edit_choose_action_operation_displayedAttributes'], 'Grid toolbar' => ['css' => '.grid-toolbar', 'decorators' => ['Pim\\Behat\\Decorator\\Grid\\PaginationDecorator']]]); }