File tree Expand file tree Collapse file tree 5 files changed +53
-0
lines changed
dev/tests/acceptance/tests/functional/Magento/FunctionalTest Expand file tree Collapse file tree 5 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 72
72
<see stepKey =" s91" selector =" {{AdminOrderDetailsInformationSection.billingAddress}}" userInput =" {{US_Address_TX.street[0]}}" />
73
73
<see stepKey =" s93" selector =" {{AdminOrderDetailsInformationSection.shippingAddress}}" userInput =" {{US_Address_TX.street[0]}}" />
74
74
<see stepKey =" s95" selector =" {{AdminOrderDetailsInformationSection.itemsOrdered}}" userInput =" $$simpleproduct1.name$$" />
75
+
76
+ <amOnPage stepKey =" s96" url =" {{AdminCustomerPage.url}}" />
77
+ <waitForPageLoad stepKey =" s97" />
78
+ <click stepKey =" s98" selector =" {{AdminCustomerFiltersSection.filtersButton}}" />
79
+ <fillField stepKey =" s99" selector =" {{AdminCustomerFiltersSection.emailInput}}" userInput =" $$simpleuscustomer.email$$" />
80
+ <click stepKey =" s100" selector =" {{AdminCustomerFiltersSection.apply}}" />
81
+ <click stepKey =" s101" selector =" {{AdminCustomerGridSection.firstRowEditLink}}" />
82
+ <click stepKey =" s102" selector =" {{AdminEditCustomerInformationSection.orders}}" />
83
+ <see stepKey =" s103" selector =" {{AdminEditCustomerOrdersSection.orderGrid}}" userInput =" $$simpleuscustomer.firstname$$ $$simpleuscustomer.lastname$$" />
75
84
</test >
76
85
</tests >
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
+ <pages xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd" >
11
+ <page name =" AdminEditCustomerPage" url =" /customer/index/edit/id" area =" admin" module =" Magento_Customer" >
12
+ <section name =" AdminEditCuctomerInformationSection" />
13
+ <section name =" AdminEditCustomerOrdersSection" />
14
+ </page >
15
+ </pages >
Original file line number Diff line number Diff line change 10
10
xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd" >
11
11
<section name =" AdminCustomerGridSection" >
12
12
<element name =" customerGrid" type =" text" selector =" table[data-role='grid']" />
13
+ <element name =" firstRowEditLink" type =" checkbox" selector =" tr[data-repeat-index='0'] .action-menu-item" timeout =" 30" />
13
14
</section >
14
15
</sections >
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
+ <sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd" >
11
+ <section name =" AdminEditCustomerInformationSection" >
12
+ <element name =" orders" type =" button" selector =" #tab_orders_content" timeout =" 30" />
13
+ </section >
14
+ </sections >
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
+ <sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd" >
11
+ <section name =" AdminEditCustomerOrdersSection" >
12
+ <element name =" orderGrid" type =" text" selector =" #customer_orders_grid_table" />
13
+ </section >
14
+ </sections >
You can’t perform that action at this time.
0 commit comments