|
13 | 13 | <element name="attributeSetFilterResult" type="input" selector="div[data-index='attribute_set_id'] .action-menu-item._last" timeout="30"/>
|
14 | 14 | <element name="attributeSetFilterResultByName" type="text" selector="//label/span[text() = '{{var}}']" timeout="30" parameterized="true"/>
|
15 | 15 | <element name="productName" type="input" selector=".admin__field[data-index=name] input"/>
|
| 16 | + <element name="productNameDisabled" type="input" selector=".admin__field[data-index=name] input[disabled=true]"/> |
16 | 17 | <element name="RequiredNameIndicator" type="text" selector=" return window.getComputedStyle(document.querySelector('._required[data-index=name]>.admin__field-label span'), ':after').getPropertyValue('content');"/>
|
17 | 18 | <element name="RequiredSkuIndicator" type="text" selector=" return window.getComputedStyle(document.querySelector('._required[data-index=sku]>.admin__field-label span'), ':after').getPropertyValue('content');"/>
|
18 | 19 | <element name="productSku" type="input" selector=".admin__field[data-index=sku] input"/>
|
| 20 | + <element name="productSkuDisabled" type="input" selector=".admin__field[data-index=sku] input[disabled=true]"/> |
19 | 21 | <element name="enableProductAttributeLabel" type="text" selector="//span[text()='Enable Product']/parent::label"/>
|
20 | 22 | <element name="enableProductAttributeLabelWrapper" type="text" selector="//span[text()='Enable Product']/parent::label/parent::div"/>
|
21 | 23 | <element name="productStatus" type="checkbox" selector="input[name='product[status]']"/>
|
| 24 | + <element name="productStatusDisabled" type="checkbox" selector="input[name='product[status]'][disabled]"/> |
22 | 25 | <element name="enableProductLabel" type="checkbox" selector="input[name='product[status]']+label"/>
|
23 | 26 | <element name="productStatusUseDefault" type="checkbox" selector="input[name='use_default[status]']"/>
|
24 | 27 | <element name="productNameUseDefault" type="checkbox" selector="input[name='use_default[name]']"/>
|
25 | 28 | <element name="productPrice" type="input" selector=".admin__field[data-index=price] input"/>
|
| 29 | + <element name="productPriceDisabled" type="input" selector=".admin__field[data-index=price] input[disabled=true]"/> |
| 30 | + <element name="productPriceUseDefault" type="checkbox" selector=".admin__field[data-index=price] [name='use_default[price]']"/> |
26 | 31 | <element name="productTaxClass" type="select" selector="//*[@name='product[tax_class_id]']"/>
|
| 32 | + <element name="productTaxClassDisabled" type="select" selector="select[name='product[tax_class_id]'][disabled=true]"/> |
27 | 33 | <element name="productTaxClassUseDefault" type="checkbox" selector="input[name='use_default[tax_class_id]']"/>
|
28 | 34 | <element name="advancedPricingLink" type="button" selector="button[data-index='advanced_pricing_button']" timeout="30"/>
|
29 | 35 | <element name="categoriesDropdown" type="multiselect" selector="div[data-index='category_ids']"/>
|
30 | 36 | <element name="productQuantity" type="input" selector=".admin__field[data-index=qty] input"/>
|
31 | 37 | <element name="advancedInventoryLink" type="button" selector="//button[contains(@data-index, 'advanced_inventory_button')]" timeout="30"/>
|
32 | 38 | <element name="productStockStatus" type="select" selector="select[name='product[quantity_and_stock_status][is_in_stock]']"/>
|
| 39 | + <element name="productStockStatusDisabled" type="select" selector="select[name='product[quantity_and_stock_status][is_in_stock]'][disabled=true]"/> |
33 | 40 | <element name="stockStatus" type="select" selector="[data-index='product-details'] select[name='product[quantity_and_stock_status][is_in_stock]']"/>
|
34 | 41 | <element name="productWeight" type="input" selector=".admin__field[data-index=weight] input"/>
|
35 | 42 | <element name="productWeightSelect" type="select" selector="select[name='product[product_has_weight]']"/>
|
|
47 | 54 | <element name="productFormTab" type="button" selector="//strong[@class='admin__collapsible-title']/span[contains(text(), '{{tabName}}')]" parameterized="true"/>
|
48 | 55 | <element name="productFormTabState" type="text" selector="//strong[@class='admin__collapsible-title']/span[contains(text(), '{{tabName}}')]/parent::*/parent::*[@data-state-collapsible='{{state}}']" parameterized="true"/>
|
49 | 56 | <element name="visibility" type="select" selector="//select[@name='product[visibility]']"/>
|
| 57 | + <element name="visibilityDisabled" type="select" selector="select[name='product[visibility]'][disabled=true]"/> |
50 | 58 | <element name="visibilityUseDefault" type="checkbox" selector="//input[@name='use_default[visibility]']"/>
|
51 | 59 | <element name="divByDataIndex" type="input" selector="div[data-index='{{var}}']" parameterized="true"/>
|
52 | 60 | <element name="setProductAsNewFrom" type="input" selector="input[name='product[news_from_date]']"/>
|
|
0 commit comments