Skip to content

Commit b29c414

Browse files
committed
MAGETWO-90113: Automate applying Reward Points during Checkout with MFTF tests
1 parent 356bda2 commit b29c414

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Checkout/Section/CheckoutShippingMethodsSection.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<section name="CheckoutShippingMethodsSection">
1212
<element name="next" type="button" selector="button.button.action.continue.primary"/>
1313
<element name="firstShippingMethod" type="radio" selector="//*[@id='checkout-shipping-method-load']//input[@class='radio']"/>
14-
<element name="checkShippingMethodByName" type="radio" selector="//td[contains(., '{{var1}}')]/..//input" parameterized="true"/>
15-
<element name="shippingMethodRowMethodByName" type="text" selector="//td[contains(., '{{var1}}')]/.." parameterized="true"/>
14+
<element name="checkShippingMethodByName" type="radio" selector="//div[@id='checkout-shipping-method-load']//td[contains(., '{{var1}}')]/..//input" parameterized="true"/>
15+
<element name="shippingMethodRowByName" type="text" selector="//div[@id='checkout-shipping-method-load']//td[contains(., '{{var1}}')]/.." parameterized="true"/>
1616
</section>
1717
</sections>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Checkout/Section/CheckoutSuccessMainSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<section name="CheckoutSuccessMainSection">
1212
<element name="success" type="text" selector="div.checkout-success"/>
1313
<element name="orderNumber" type="text" selector="div.checkout-success > p:nth-child(1) > span"/>
14-
<element name="orderNumberLink" type="text" selector="div.checkout-success > p:nth-child(1) > a"/>
14+
<element name="orderNumberLink" type="text" selector=".order-number"/>
1515
<element name="orderNumber22" type="text" selector=".order-number>strong"/>
1616
</section>
1717
</sections>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Customer/Page/AdminEditCustomerPage.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
98
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
109
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd">
11-
<page name="AdminEditCustomerPage" url="/admin/customer/index/edit/id/{{var1}}" area="admin" module="Magento_Customer" parameterized="true">
10+
<page name="AdminEditCustomerPage" url="/customer/index/edit/id/{{var1}}" area="admin" module="Magento_Customer" parameterized="true">
1211
<section name="AdminCustomerAccountInformationSection"/>
1312
<section name="AdminCustomerMainActionsSection"/>
1413
</page>

0 commit comments

Comments
 (0)