Skip to content

Commit 4b07ddb

Browse files
author
Joan He
committed
Merge remote-tracking branch 'arcticfoxes/MC-4303' into BugFixPR
2 parents 856eeb0 + 2a21a9a commit 4b07ddb

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

app/code/Magento/Braintree/Test/Mftf/Section/BraintreeConfigurationPaymentSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1111
<section name="BraintreeConfigurationPaymentSection">
1212
<element name="creditCart" type="radio" selector="#braintree"/>
13+
<element name="paymentMethodContainer" type="block" selector=".payment-method-braintree"/>
1314
<element name="paymentMethod" type="radio" selector="//div[@class='payment-group']//input[contains(@id, 'braintree_cc_vault_')]"/>
1415
<element name="cartFrame" type="iframe" selector="braintree-hosted-field-number"/>
1516
<element name="monthFrame" type="iframe" selector="braintree-hosted-field-expirationMonth"/>

app/code/Magento/Braintree/Test/Mftf/Test/BraintreeCreditCardOnCheckoutTest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,12 @@
6161
<!--Fill cart data-->
6262
<click selector="{{BraintreeConfigurationPaymentSection.creditCart}}" stepKey="SelectBraintreePaymentMethod"/>
6363
<waitForPageLoad stepKey="waitForPageLoad3"/>
64+
<scrollTo selector="{{BraintreeConfigurationPaymentSection.creditCart}}" stepKey="ScrollToCreditCardSection"/>
6465
<actionGroup ref="StorefrontFillCartDataActionGroup" stepKey="StorefrontFillCartDataActionGroup"/>
6566
<waitForPageLoad stepKey="waitForPageLoad4"/>
6667
<!--Place order-->
67-
<click selector="{{CheckoutPaymentSection.placeOrder}}" stepKey="PlaceOrder"/>
68+
<click selector="{{BraintreeConfigurationPaymentSection.paymentMethodContainer}} {{CheckoutPaymentSection.placeOrder}}"
69+
stepKey="PlaceOrder"/>
6870
<waitForPageLoad stepKey="waitForPageLoad5"/>
6971

7072
<!--Add product to cart again-->

app/code/Magento/Captcha/Test/Mftf/ActionGroup/CaptchaFormsDisplayingActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<waitForPageLoad stepKey="waitForStoresLoaded"/>
1414
<click selector="{{CaptchaFormsDisplayingSection.config}}" stepKey="ClickToGoConfiguration"/>
1515
<waitForPageLoad stepKey="waitForConfigurationsLoaded"/>
16-
<scrollTo selector="{{CaptchaFormsDisplayingSection.customer}}" stepKey="ScrollToCustomers"/>
16+
<scrollTo selector="{{CaptchaFormsDisplayingSection.customer}}" x="0" y="-80" stepKey="ScrollToCustomers"/>
1717
<click selector="{{CaptchaFormsDisplayingSection.customer}}" stepKey="ClickToCustomers"/>
1818
<waitForPageLoad stepKey="waitForCustomerConfigurationsLoaded"/>
1919
<click selector="{{CaptchaFormsDisplayingSection.customerConfig}}" stepKey="ClickToGoCustomerConfiguration"/>

app/code/Magento/Catalog/Test/Mftf/Section/AdminProductFiltersSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<element name="apply" type="button" selector="button[data-action=grid-filter-apply]" timeout="30"/>
1616
<element name="filter" type="button" selector="//div[@class='data-grid-filters-action-wrap']/button" timeout="30"/>
1717
<element name="typeDropDown" type="multiselect" selector="//select[@name='type_id']" timeout="30"/>
18-
<element name="bundleOption" type="multiselect" selector="//select[@name='type_id']/option[4]" timeout="30"/>
18+
<element name="bundleOption" type="multiselect" selector="//select[@name='type_id']/option[@value='bundle']" timeout="30"/>
1919
<element name="applyFilters" type="button" selector="//button[@class='action-secondary']" timeout="30"/>
2020
<element name="allCheckbox" type="checkbox" selector="//div[@data-role='grid-wrapper']//label[@data-bind='attr: {for: ko.uid}']" timeout="30"/>
2121
<element name="actions" type="button" selector="//div[@class='action-select-wrap']/button" timeout="30"/>

app/code/Magento/Sales/Test/Mftf/Test/AdminCreateInvoiceTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
<click selector="{{AdminOrdersGridSection.firstRow}}" stepKey="clickOrderRow"/>
6969
<click selector="{{AdminOrderDetailsMainActionsSection.invoice}}" stepKey="clickInvoice"/>
7070
<click selector="{{AdminInvoiceMainActionsSection.submitInvoice}}" stepKey="clickSubmitInvoice"/>
71+
<waitForPageLoad stepKey="waitForInvoicePageLoad"/>
7172
<see selector="{{AdminOrderDetailsMessagesSection.successMessage}}" userInput="The invoice has been created." stepKey="seeSuccessMessage"/>
7273
<click selector="{{AdminOrderDetailsOrderViewSection.invoices}}" stepKey="clickInvoices"/>
7374
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMask5" />

0 commit comments

Comments
 (0)