12345678910111213141516171819202122232425262728293031323334 |
- <?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="AdminNewAttributePanel">
- <element name="useInSearch" type="select" selector="#is_searchable"/>
- <element name="visibleInAdvancedSearch" type="select" selector="#is_visible_in_advanced_search"/>
- <element name="comparableOnStorefront" type="select" selector="#is_comparable"/>
- <element name="useInLayeredNavigation" type="select" selector="#is_filterable"/>
- <element name="visibleOnCatalogPagesOnStorefront" type="select" selector="#is_visible_on_front"/>
- <element name="useInProductListing" type="select" selector="#used_in_product_listing"/>
- <element name="usedForStoringInProductListing" type="select" selector="#used_for_sort_by"/>
- <element name="storefrontPropertiesTab" selector="#front_fieldset-wrapper"/>
- <element name="storefrontPropertiesTitle" selector="//span[text()='Storefront Properties']"/>
- <element name="container" type="text" selector="#create_new_attribute"/>
- <element name="saveAttribute" type="button" selector="#save"/>
- <element name="newAttributeIFrame" type="iframe" selector="create_new_attribute_container"/>
- <element name="defaultLabel" type="input" selector="input[name='frontend_label[0]']"/>
- <element name="inputType" type="select" selector="select[name='frontend_input']" timeout="30"/>
- <element name="valuesRequired" type="select" selector="select#is_required"/>
- <element name="addOption" type="button" selector="#add_new_option_button"/>
- <element name="isDefault" type="radio" selector="[data-role='options-container'] tr:nth-of-type({{row}}) input[name='default[]']" parameterized="true"/>
- <element name="optionAdminValue" type="input" selector="[data-role='options-container'] input[name='option[value][option_{{row}}][0]']" parameterized="true"/>
- <element name="optionDefaultStoreValue" type="input" selector="[data-role='options-container'] input[name='option[value][option_{{row}}][1]']" parameterized="true"/>
- <element name="deleteOption" type="button" selector="#delete_button_option_{{row}}" parameterized="true"/>
- <element name="deleteOptionByName" type="button" selector="//*[contains(@value, '{{arg}}')]/../following-sibling::td[contains(@id, 'delete_button_container')]/button" parameterized="true"/>
- </section>
- </sections>
|