Skip to content
Snippets Groups Projects
Commit 3cf76eb1 authored by Leonid Poluyanov's avatar Leonid Poluyanov
Browse files

Merge remote-tracking branch 'origin/MAGETWO-85207' into PANDA-2.2-develop-PR

parents 507c50f6 7f2e4ad5
Branches
No related merge requests found
......@@ -80,6 +80,15 @@
<see stepKey="s91" selector="{{OrderDetailsInformationSection.billingAddress}}" userInput="{{US_Address_TX.street[0]}}" />
<see stepKey="s93" selector="{{OrderDetailsInformationSection.shippingAddress}}" userInput="{{US_Address_TX.street[0]}}" />
<see stepKey="s95" selector="{{OrderDetailsInformationSection.itemsOrdered}}" userInput="$$simpleproduct1.name$$" />
<amOnPage stepKey="s96" url="{{AdminCustomerPage.url}}"/>
<waitForPageLoad stepKey="s97"/>
<click stepKey="s98" selector="{{AdminCustomerFiltersSection.filtersButton}}"/>
<fillField stepKey="s99" selector="{{AdminCustomerFiltersSection.emailInput}}" userInput="$$simpleuscustomer.email$$"/>
<click stepKey="s100" selector="{{AdminCustomerFiltersSection.apply}}"/>
<click stepKey="s101" selector="{{AdminCustomerGridSection.firstRowEditLink}}"/>
<click stepKey="s102" selector="{{AdminEditCustomerInformationSection.orders}}"/>
<see stepKey="s103" selector="{{AdminEditCustomerOrdersSection.orderGrid}}" variable="orderNumber" />
<see stepKey="s104" selector="{{AdminEditCustomerOrdersSection.orderGrid}}" userInput="$$simpleuscustomer.firstname$$ $$simpleuscustomer.lastname$$" />
</test>
</cest>
</config>
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd">
<page name="AdminNewCustomerPage" url="/admin/customer/index/edit/id" module="Customer">
<section name="AdminEditCuctomerInformationSection"/>
<section name="AdminEditCustomerOrdersSection"/>
</page>
</config>
......@@ -10,5 +10,6 @@
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
<section name="AdminCustomerGridSection">
<element name="customerGrid" type="text" selector="table[data-role='grid']"/>
<element name="firstRowEditLink" type="checkbox" selector="tr[data-repeat-index='0'] .action-menu-item" timeout="30"/>
</section>
</config>
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
<section name="AdminEditCustomerInformationSection">
<element name="orders" type="button" selector="#tab_orders_content" timeout="30"/>
</section>
</config>
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
<section name="AdminEditCustomerOrdersSection">
<element name="orderGrid" type="text" selector="#customer_orders_grid_table"/>
</section>
</config>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment