File tree Expand file tree Collapse file tree 5 files changed +7
-3
lines changed
Captcha/Test/Mftf/ActionGroup
Catalog/Test/Mftf/Section Expand file tree Collapse file tree 5 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11
11
<section name =" BraintreeConfigurationPaymentSection" >
12
12
<element name =" creditCart" type =" radio" selector =" #braintree" />
13
+ <element name =" paymentMethodContainer" type =" block" selector =" .payment-method-braintree" />
13
14
<element name =" paymentMethod" type =" radio" selector =" //div[@class='payment-group']//input[contains(@id, 'braintree_cc_vault_')]" />
14
15
<element name =" cartFrame" type =" iframe" selector =" braintree-hosted-field-number" />
15
16
<element name =" monthFrame" type =" iframe" selector =" braintree-hosted-field-expirationMonth" />
Original file line number Diff line number Diff line change 61
61
<!-- Fill cart data-->
62
62
<click selector =" {{BraintreeConfigurationPaymentSection.creditCart}}" stepKey =" SelectBraintreePaymentMethod" />
63
63
<waitForPageLoad stepKey =" waitForPageLoad3" />
64
+ <scrollTo selector =" {{BraintreeConfigurationPaymentSection.creditCart}}" stepKey =" ScrollToCreditCardSection" />
64
65
<actionGroup ref =" StorefrontFillCartDataActionGroup" stepKey =" StorefrontFillCartDataActionGroup" />
65
66
<waitForPageLoad stepKey =" waitForPageLoad4" />
66
67
<!-- Place order-->
67
- <click selector =" {{CheckoutPaymentSection.placeOrder}}" stepKey =" PlaceOrder" />
68
+ <click selector =" {{BraintreeConfigurationPaymentSection.paymentMethodContainer}} {{CheckoutPaymentSection.placeOrder}}"
69
+ stepKey =" PlaceOrder" />
68
70
<waitForPageLoad stepKey =" waitForPageLoad5" />
69
71
70
72
<!-- Add product to cart again-->
Original file line number Diff line number Diff line change 13
13
<waitForPageLoad stepKey =" waitForStoresLoaded" />
14
14
<click selector =" {{CaptchaFormsDisplayingSection.config}}" stepKey =" ClickToGoConfiguration" />
15
15
<waitForPageLoad stepKey =" waitForConfigurationsLoaded" />
16
- <scrollTo selector =" {{CaptchaFormsDisplayingSection.customer}}" stepKey =" ScrollToCustomers" />
16
+ <scrollTo selector =" {{CaptchaFormsDisplayingSection.customer}}" x = " 0 " y = " -80 " stepKey =" ScrollToCustomers" />
17
17
<click selector =" {{CaptchaFormsDisplayingSection.customer}}" stepKey =" ClickToCustomers" />
18
18
<waitForPageLoad stepKey =" waitForCustomerConfigurationsLoaded" />
19
19
<click selector =" {{CaptchaFormsDisplayingSection.customerConfig}}" stepKey =" ClickToGoCustomerConfiguration" />
Original file line number Diff line number Diff line change 15
15
<element name =" apply" type =" button" selector =" button[data-action=grid-filter-apply]" timeout =" 30" />
16
16
<element name =" filter" type =" button" selector =" //div[@class='data-grid-filters-action-wrap']/button" timeout =" 30" />
17
17
<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" />
19
19
<element name =" applyFilters" type =" button" selector =" //button[@class='action-secondary']" timeout =" 30" />
20
20
<element name =" allCheckbox" type =" checkbox" selector =" //div[@data-role='grid-wrapper']//label[@data-bind='attr: {for: ko.uid}']" timeout =" 30" />
21
21
<element name =" actions" type =" button" selector =" //div[@class='action-select-wrap']/button" timeout =" 30" />
Original file line number Diff line number Diff line change 68
68
<click selector =" {{AdminOrdersGridSection.firstRow}}" stepKey =" clickOrderRow" />
69
69
<click selector =" {{AdminOrderDetailsMainActionsSection.invoice}}" stepKey =" clickInvoice" />
70
70
<click selector =" {{AdminInvoiceMainActionsSection.submitInvoice}}" stepKey =" clickSubmitInvoice" />
71
+ <waitForPageLoad stepKey =" waitForInvoicePageLoad" />
71
72
<see selector =" {{AdminOrderDetailsMessagesSection.successMessage}}" userInput =" The invoice has been created." stepKey =" seeSuccessMessage" />
72
73
<click selector =" {{AdminOrderDetailsOrderViewSection.invoices}}" stepKey =" clickInvoices" />
73
74
<waitForLoadingMaskToDisappear stepKey =" waitForLoadingMask5" />
You can’t perform that action at this time.
0 commit comments