|
49 | 49 | <!--NameOfProductOnProductPage-->
|
50 | 50 | <element name="bundleProductName" type="text" selector="//*[@id='maincontent']//span[@itemprop='name']"/>
|
51 | 51 | <!--EnableDisableToggle-->
|
52 |
| - <element name="enableDisableToggle" type="button" selector="//*[@id='container']//input[@name='product[status]']/.." timeout="30"/> |
| 52 | + <element name="enableDisableToggle" type="checkbox" selector="//*[@id='container']//input[@name='product[status]']/.." timeout="30"/> |
| 53 | + <element name="enableDisableToggleOn" type="checkbox" selector="//*[@id='container']//input[@name='product[status]' and @value='1']/.."/> |
| 54 | + <element name="enableDisableToggleOff" type="checkbox" selector="//*[@id='container']//input[@name='product[status]' and @value='2']/.."/> |
53 | 55 | <!--SearchButton-->
|
54 | 56 | <element name="searchButton" type="button" selector="//div[@class='data-grid-search-control-wrap']//*[@type='button']" timeout="30"/>
|
55 | 57 | <!--ClickOnFirstProductInCatalog-->
|
|
61 | 63 | <element name="listedBundleItem2" type="text" selector="//tr[@data-repeat-index='2']//div"/>
|
62 | 64 | <!--FirstProductOption-->
|
63 | 65 | <element name="firstProductOption" type="checkbox" selector="//div[@class='admin__data-grid-outer-wrap']//tr[@data-repeat-index='0']//input[@type='checkbox']"/>
|
| 66 | + <element name="dynamicSkuToggle" type="checkbox" selector="div[data-index='sku_type'] .admin__actions-switch-label" timeout="30"/> |
| 67 | + <element name="dynamicPriceToggle" type="checkbox" selector="//div[@data-index='price_type']//div[@data-role='switcher']"/> |
| 68 | + <element name="taxClassDropDown" type="select" selector="//select[@name='product[tax_class_id]']" timeout="30"/> |
| 69 | + <element name="taxableGoodsOption" type="text" selector="//select[@name='product[tax_class_id]']//option[@data-title='Taxable Goods']"/> |
| 70 | + <element name="stockStatusField" type="select" selector="//select[@name='product[quantity_and_stock_status][is_in_stock]']"/> |
| 71 | + <element name="inStockOption" type="text" selector="//select[@name='product[quantity_and_stock_status][is_in_stock]']//option[@data-title='{{stock}}']" parameterized="true" timeout="30"/> |
| 72 | + <element name="dynamicWeightToggle" type="checkbox" selector="//div[@data-index='weight_type']//div[@data-role='switcher']" timeout="30"/> |
| 73 | + <element name="weightField" type="input" selector="//div[@data-index='weight']//input"/> |
| 74 | + <element name="categoriesDropDown" type="block" selector="//div[@data-index='category_ids']//div" timeout="30"/> |
| 75 | + <element name="defaultCategory" type="text" selector="//div[@data-index='category_ids']//span[contains(text(), 'Default Category')]"/> |
| 76 | + <element name="visibilityDropDown" type="select" selector="//select[@name='product[visibility]']"/> |
| 77 | + <element name="catalogOption1" type="text" selector="//select[@name='product[visibility]']//option[1]"/> |
| 78 | + <element name="catalogOption2" type="text" selector="//select[@name='product[visibility]']//option[2]"/> |
| 79 | + <element name="fromDate" type="input" selector="//div[@data-index='news_from_date']//input"/> |
| 80 | + <element name="toDate" type="input" selector="//div[@data-index='news_to_date']//input"/> |
| 81 | + <element name="countryOfManufactureDropDown" type="select" selector="//select[@name='product[country_of_manufacture]']"/> |
| 82 | + <element name="selectCountryOfManufacture" type="text" selector="//select[@name='product[country_of_manufacture]']//option[@data-title='{{country}}']" parameterized="true"/> |
| 83 | + <element name="dynamicSkuToggleOn" type="checkbox" selector="//div[@data-index='sku_type']//div[@data-role='switcher']//input[@value='0']"/> |
| 84 | + <element name="dynamicSkuToggleOff" type="checkbox" selector="//div[@data-index='sku_type']//div[@data-role='switcher']//input[@value='1']"/> |
| 85 | + <element name="dynamicWeightToggleOn" type="checkbox" selector="//div[@data-index='weight_type']//div[@data-role='switcher']//input[@value='0']"/> |
| 86 | + <element name="dynamicWeightToggleOff" type="checkbox" selector="//div[@data-index='weight_type']//div[@data-role='switcher']//input[@value='1']"/> |
| 87 | + <element name="categoryFieldName" type="text" selector="//fieldset[@data-index='container_category_ids']//label//span" timeout="30"/> |
| 88 | + <element name="categoryDone" type="button" selector=".admin__action-multiselect-actions-wrap [type='button'] span" timeout="30"/> |
| 89 | + <element name="dynamicPriceToggleOff" type="checkbox" selector="//div[@data-index='price_type']//div[@data-role='switcher']//input[@value='1']"/> |
64 | 90 | <!--Category Selection-->
|
65 |
| - <element name="categoriesDropDown" type="multiselect" selector="//div[@data-index='category_ids']//div" timeout="30"/> |
66 |
| - <element name="defaultCategory" type="multiselect" selector="//div[@data-index='category_ids']//span[contains(text(), 'Default Category')]"/> |
| 91 | + <!-- <element name="categoriesDropDown" type="multiselect" selector="//div[@data-index='category_ids']//div" timeout="30"/> --> |
| 92 | + <!-- <element name="defaultCategory" type="multiselect" selector="//div[@data-index='category_ids']//span[contains(text(), 'Default Category')]"/> --> |
67 | 93 | <element name="categoryByName" type="multiselect" selector="//div[@data-index='category_ids']//span[contains(text(), '{{category}}')]" parameterized="true"/>
|
68 | 94 | <element name="searchForCategory" type="input" selector="div.action-menu._active > div.admin__action-multiselect-search-wrap input" timeout="30"/>
|
69 | 95 | <element name="selectCategory" type="multiselect" selector="//div[@class='action-menu _active']//label[@class='admin__action-multiselect-label']"/>
|
|
0 commit comments