File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed
dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" navigateToCreatedProductAttribute" >
12
+ <arguments >
13
+ <argument name =" ProductAttribute" />
14
+ </arguments >
15
+ <amOnPage url =" {{AdminProductAttributeGridPage.url}}" stepKey =" navigateToProductAttributeGrid" />
16
+ <waitForPageLoad stepKey =" waitForPageLoad1" />
17
+ <click selector =" {{AdminProductAttributeGridSection.AttributeCode(ProductAttribute.attribute_code)}}" stepKey =" navigateToAttributeEditPage1" />
18
+ <waitForPageLoad stepKey =" waitForPageLoad2" />
19
+ </actionGroup >
20
+ </actionGroups >
Original file line number Diff line number Diff line change 18
18
<element name =" SaveAndEdit" type =" button" selector =" #save_and_edit_button" />
19
19
<element name =" TinyMCE4" type =" button" selector =" //span[text()='Default Value']/parent::label/following-sibling::div//div[@class='mce-branding-powered-by']" />
20
20
<element name =" checkIfTabOpen" selector =" //div[@id='advanced_fieldset-wrapper' and not(contains(@class,'opened'))]" type =" button" />
21
- <element name =" SaveAndEdit" selector =" #save_and_edit_button" type =" button" />
22
21
</section >
23
22
<section name =" StorefrontPropertiesSection" >
24
23
<element name =" StoreFrontPropertiesTab" selector =" #product_attribute_tabs_front" type =" button" />
Original file line number Diff line number Diff line change 20
20
<element name =" fieldError" type =" text" selector =" //input[@name='product[{{fieldName}}]']/following-sibling::label[@class='admin__field-error']" parameterized =" true" />
21
21
<element name =" priceFieldError" type =" text" selector =" //input[@name='product[price]']/parent::div/parent::div/label[@class='admin__field-error']" />
22
22
<element name =" addAttributeBtn" type =" button" selector =" #addAttribute" />
23
+ <element name =" createNewAttributeBtn" type =" button" selector =" button[data-index='add_new_attribute_button']" />
24
+ <element name =" save" type =" button" selector =" #save" />
25
+ <element name =" attributeTab" type =" button" selector =" //strong[@class='admin__collapsible-title']/span[text()='Attributes']" />
26
+ <element name =" attributeLabel" type =" input" selector =" //input[@name='frontend_label[0]']" />
27
+ <element name =" frontendInput" type =" select" selector =" select[name = 'frontend_input']" />
23
28
</section >
24
29
<section name =" ProductWYSIWYGSection" >
25
30
<element name =" Switcher" type =" button" selector =" //select[@id='dropdown-switcher']" />
You can’t perform that action at this time.
0 commit comments