9
9
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd" >
11
11
<section name =" AdminProductFormSection" >
12
- <element name =" productName" type =" input" locator =" .admin__field[data-index=name] input" />
13
- <element name =" productSku" type =" input" locator =" .admin__field[data-index=sku] input" />
14
- <element name =" productPrice" type =" input" locator =" .admin__field[data-index=price] input" />
15
- <element name =" categoriesDropdown" type =" multiselect" locator =" div[data-index='category_ids']" />
16
- <element name =" productQuantity" type =" input" locator =" .admin__field[data-index=qty] input" />
12
+ <element name =" productName" type =" input" selector =" .admin__field[data-index=name] input" />
13
+ <element name =" productSku" type =" input" selector =" .admin__field[data-index=sku] input" />
14
+ <element name =" productPrice" type =" input" selector =" .admin__field[data-index=price] input" />
15
+ <element name =" categoriesDropdown" type =" multiselect" selector =" div[data-index='category_ids']" />
16
+ <element name =" productQuantity" type =" input" selector =" .admin__field[data-index=qty] input" />
17
17
</section >
18
18
<section name =" AdminProductFormConfigurationsSection" >
19
- <element name =" createConfigurations" type =" button" locator =" button[data-index='create_configurable_products_button']" timeout =" 30" />
20
- <element name =" currentVariationsRows" type =" button" locator =" .data-row" />
21
- <element name =" currentVariationsNameCells" type =" textarea" locator =" .admin__control-fields[data-index='name_container']" />
22
- <element name =" currentVariationsSkuCells" type =" textarea" locator =" .admin__control-fields[data-index='sku_container']" />
23
- <element name =" currentVariationsPriceCells" type =" textarea" locator =" .admin__control-fields[data-index='price_container']" />
24
- <element name =" currentVariationsQuantityCells" type =" textarea" locator =" .admin__control-fields[data-index='quantity_container']" />
25
- <element name =" currentVariationsAttributesCells" type =" textarea" locator =" .admin__control-fields[data-index='attributes']" />
19
+ <element name =" createConfigurations" type =" button" selector =" button[data-index='create_configurable_products_button']" timeout =" 30" />
20
+ <element name =" currentVariationsRows" type =" button" selector =" .data-row" />
21
+ <element name =" currentVariationsNameCells" type =" textarea" selector =" .admin__control-fields[data-index='name_container']" />
22
+ <element name =" currentVariationsSkuCells" type =" textarea" selector =" .admin__control-fields[data-index='sku_container']" />
23
+ <element name =" currentVariationsPriceCells" type =" textarea" selector =" .admin__control-fields[data-index='price_container']" />
24
+ <element name =" currentVariationsQuantityCells" type =" textarea" selector =" .admin__control-fields[data-index='quantity_container']" />
25
+ <element name =" currentVariationsAttributesCells" type =" textarea" selector =" .admin__control-fields[data-index='attributes']" />
26
26
</section >
27
27
<section name =" AdminCreateProductConfigurationsPanel" >
28
- <element name =" next" type =" button" locator =" .steps-wizard-navigation .action-next-step" timeout =" 30" />
29
- <element name =" createNewAttribute" type =" button" locator =" .select-attributes-actions button[title='Create New Attribute']" timeout =" 30" />
30
- <element name =" filters" type =" button" locator =" button[data-action='grid-filter-expand']" />
31
- <element name =" attributeCode" type =" input" locator =" .admin__control-text[name='attribute_code']" />
32
- <element name =" applyFilters" type =" button" locator =" button[data-action='grid-filter-apply']" timeout =" 30" />
33
- <element name =" firstCheckbox" type =" input" locator =" tr[data-repeat-index='0'] .admin__control-checkbox" />
28
+ <element name =" next" type =" button" selector =" .steps-wizard-navigation .action-next-step" timeout =" 30" />
29
+ <element name =" createNewAttribute" type =" button" selector =" .select-attributes-actions button[title='Create New Attribute']" timeout =" 30" />
30
+ <element name =" filters" type =" button" selector =" button[data-action='grid-filter-expand']" />
31
+ <element name =" attributeCode" type =" input" selector =" .admin__control-text[name='attribute_code']" />
32
+ <element name =" applyFilters" type =" button" selector =" button[data-action='grid-filter-apply']" timeout =" 30" />
33
+ <element name =" firstCheckbox" type =" input" selector =" tr[data-repeat-index='0'] .admin__control-checkbox" />
34
34
35
- <element name =" selectAll" type =" button" locator =" .action-select-all" />
36
- <element name =" createNewValue" type =" input" locator =" .action-create-new" timeout =" 30" />
37
- <element name =" attributeName" type =" input" locator =" li[data-attribute-option-title=''] .admin__field-create-new .admin__control-text" />
38
- <element name =" saveAttribute" type =" button" locator =" li[data-attribute-option-title=''] .action-save" timeout =" 30" />
35
+ <element name =" selectAll" type =" button" selector =" .action-select-all" />
36
+ <element name =" createNewValue" type =" input" selector =" .action-create-new" timeout =" 30" />
37
+ <element name =" attributeName" type =" input" selector =" li[data-attribute-option-title=''] .admin__field-create-new .admin__control-text" />
38
+ <element name =" saveAttribute" type =" button" selector =" li[data-attribute-option-title=''] .action-save" timeout =" 30" />
39
39
40
- <element name =" applyUniquePricesByAttributeToEachSku" type =" radio" locator =" .admin__field-label[for='apply-unique-prices-radio']" />
41
- <element name =" selectAttribute" type =" select" locator =" #select-each-price" timeout =" 30" />
42
- <element name =" attribute1" type =" input" locator =" #apply-single-price-input-0" />
43
- <element name =" attribute2" type =" input" locator =" #apply-single-price-input-1" />
44
- <element name =" attribute3" type =" input" locator =" #apply-single-price-input-2" />
40
+ <element name =" applyUniquePricesByAttributeToEachSku" type =" radio" selector =" .admin__field-label[for='apply-unique-prices-radio']" />
41
+ <element name =" selectAttribute" type =" select" selector =" #select-each-price" timeout =" 30" />
42
+ <element name =" attribute1" type =" input" selector =" #apply-single-price-input-0" />
43
+ <element name =" attribute2" type =" input" selector =" #apply-single-price-input-1" />
44
+ <element name =" attribute3" type =" input" selector =" #apply-single-price-input-2" />
45
45
46
- <element name =" applySingleQuantityToEachSkus" type =" radio" locator =" .admin__field-label[for='apply-single-inventory-radio']" timeout =" 30" />
47
- <element name =" quantity" type =" input" locator =" #apply-single-inventory-input" />
46
+ <element name =" applySingleQuantityToEachSkus" type =" radio" selector =" .admin__field-label[for='apply-single-inventory-radio']" timeout =" 30" />
47
+ <element name =" quantity" type =" input" selector =" #apply-single-inventory-input" />
48
48
</section >
49
49
<section name =" AdminNewAttributePanel" >
50
- <element name =" saveAttribute" type =" button" locator =" #save" timeout =" 30" />
51
- <element name =" newAttributeIFrame" type =" iframe" locator =" create_new_attribute_container" />
52
- <element name =" defaultLabel" type =" input" locator =" #attribute_label" />
50
+ <element name =" saveAttribute" type =" button" selector =" #save" timeout =" 30" />
51
+ <element name =" newAttributeIFrame" type =" iframe" selector =" create_new_attribute_container" />
52
+ <element name =" defaultLabel" type =" input" selector =" #attribute_label" />
53
53
</section >
54
54
<section name =" AdminChooseAffectedAttributeSetPopup" >
55
- <element name =" confirm" type =" button" locator =" button[data-index='confirm_button']" timeout =" 30" />
55
+ <element name =" confirm" type =" button" selector =" button[data-index='confirm_button']" timeout =" 30" />
56
56
</section >
57
57
</config >
0 commit comments