|
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- -->
- <sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
- <section name="WidgetSection">
- <element name="InsertWidgetTitle" type="text" selector="//h1[contains(text(),'Insert Widget')]"/>
- <element name="DisplayType" type="select" selector="select[name='parameters[display_type]']"/>
- <element name="SelectCategoryTitle" type="text" selector="//h1[contains(text(),'Select Category')]"/>
- <element name="SelectProductTitle" type="text" selector="//h1[contains(text(),'Select Product')]"/>
- <element name="SelectPageTitle" type="text" selector="//h1[contains(text(),'Select Page')]"/>
- <element name="SelectBlockTitle" type="text" selector="//h1[contains(text(),'Select Block')]"/>
- <element name="InsertWidget" type="button" selector="#insert_button" timeout="30"/>
- <element name="InsertWidgetBtnDisabled" type="button" selector="//button[@id='insert_button' and contains(@class,'disabled')]"/>
- <element name="InsertWidgetBtnEnabled" type="button" selector="//button[@id='insert_button' and not(contains(@class,'disabled'))]"/>
- <element name="CancelBtnEnabled" type="button" selector="//button[@id='reset' and not(contains(@class,'disabled'))]"/>
- <element name="Close" type="button" selector="#close"/>
- <element name="WidgetType" type="button" selector="#select_widget_type"/>
- <element name="WidgetTemplate" type="button" selector="select[name='parameters[template]']"/>
- <element name="BtnChooser" type="button" selector=".btn-chooser"/>
- <element name="CMSPage" type="text" selector="//td[contains(text(),'Home page')]"/>
- <element name="BlockPage" type="text" selector="//td[contains(text(),'{{var1}}')]" parameterized="true"/>
- <element name="PreCreateCategory" type="text" selector=" //span[contains(text(),'{{var1}}')]" parameterized="true"/>
- <element name="PreCreateProduct" type="text" selector="//td[contains(text(),'{{var1}}')]" parameterized="true"/>
- <element name="NoOfProductToDisplay" type="input" selector="input[data-ui-id='wysiwyg-widget-options-fieldset-element-text-parameters-products-count']"/>
- <element name="AddParam" type="button" selector=".rule-param-add"/>
- <element name="ConditionsDropdown" type="select" selector="#conditions__1__new_child"/>
- <element name="RuleParam" type="button" selector="//a[text()='...']"/>
- <element name="RuleParam1" type="button" selector="(//span[@class='rule-param']//a)[{{var}}]" parameterized="true"/>
- <element name="RuleParamSelect" type="select" selector="//ul[contains(@class,'rule-param-children')]/li[{{arg1}}]//*[contains(@class,'rule-param')][{{arg2}}]//select" parameterized="true"/>
- <element name="RuleParamInput" type="input" selector="//ul[contains(@class,'rule-param-children')]/li[{{arg1}}]//*[contains(@class,'rule-param')][{{arg2}}]//input" parameterized="true"/>
- <element name="RuleParamLabel" type="input" selector="//ul[contains(@class,'rule-param-children')]/li[{{arg1}}]//*[contains(@class,'rule-param')][{{arg2}}]//a" parameterized="true"/>
- <element name="Chooser" type="button" selector="//img[@title='Open Chooser']"/>
- <element name="PageSize" type="input" selector="input[name='parameters[page_size]']"/>
- <element name="ProductAttribute" type="multiselect" selector="select[name='parameters[show_attributes][]']"/>
- <element name="ButtonToShow" type="multiselect" selector="select[name='parameters[show_buttons][]']"/>
- <element name="InputAnchorCustomText" type="input" selector="input[name='parameters[anchor_text]']"/>
- <element name="InputAnchorCustomTitle" type="input" selector="input[name='parameters[title]']"/>
- <!--Compare on Storefront-->
- <element name="ProductName" type="text" selector=".product.name.product-item-name"/>
- <element name="CompareBtn" type="button" selector=".action.tocompare"/>
- <element name="ClearCompare" type="button" selector="#compare-clear-all"/>
- <element name="AcceptClear" type="button" selector=".action-primary.action-accept"/>
- <element name="ChooserName" type="input" selector="input[name='chooser_name']"/>
- <element name="SelectPageButton" type="button" selector="//button[@title='Select Page...']"/>
- <element name="SelectPageFilterInput" type="input" selector="input.admin__control-text[name='{{filterName}}']" parameterized="true"/>
- </section>
- </sections>
|