File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Paypal/Test/Mftf/ActionGroup
Sales/Test/Mftf/ActionGroup Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 18
18
</arguments >
19
19
<amOnPage url =" {{AdminConfigPaymentMethodsPage.url}}" stepKey =" navigateToPaymentConfigurationPage" />
20
20
<waitForPageLoad stepKey =" waitForConfigPageLoad" />
21
+ <waitForElementClickable selector =" {{OtherPayPalPaymentsConfigSection.expandTab(countryCode)}}" stepKey =" waitForConfigureButtonToBeClicked" />
21
22
<click selector =" {{OtherPayPalPaymentsConfigSection.expandTab(countryCode)}}" stepKey =" expandOtherPaypalConfigButton" />
22
23
<scrollTo selector =" {{PayPalPaymentsProConfigSection.paymentsAdvanced(countryCode)}}" stepKey =" scrollToConfigure" />
23
24
<waitForElementClickable selector =" {{PayPalPaymentsProConfigSection.configureBtn(countryCode)}}" stepKey =" waitForPayPalPaymentsProConfigureBtn" />
Original file line number Diff line number Diff line change 11
11
<annotations >
12
12
<description >Click the Transactions button on the Order Details page</description >
13
13
</annotations >
14
- <click selector =" {{AdminTransactionsGridSection.transactionsSectionBtn}}" stepKey =" clickTransactionsButton" />
14
+ <waitForElementClickable selector =" {{AdminTransactionsGridSection.transactionsSectionBtn}}" stepKey =" waitForTransactionsTabToBeClicked" />
15
+ <click selector =" {{AdminTransactionsGridSection.transactionsSectionBtn}}" stepKey =" clickTransactionsTab" />
15
16
<waitForElementVisible selector =" {{AdminTransactionsGridSection.orderTxnTable}}" stepKey =" orderTransactionsTableIsVisible" />
16
17
<selectOption selector =" {{AdminTransactionsGridSection.orderTxnTableTypeFilter}}" userInput =" void" stepKey =" selectVoidTypeTxn" />
18
+ <waitForElementClickable selector =" {{AdminTransactionsGridSection.orderTxnTableSearchBtn}}" stepKey =" waitToClickSearch" />
17
19
<click selector =" {{AdminTransactionsGridSection.orderTxnTableSearchBtn}}" stepKey =" clickSearch" />
18
20
<waitForPageLoad stepKey =" waitForFilterToLoad" />
21
+ <waitForElementClickable selector =" {{AdminTransactionsGridSection.orderTxnTableFirstRow}}" stepKey =" clickOnVoidTransaction" />
19
22
<click selector =" {{AdminTransactionsGridSection.orderTxnTableFirstRow}}" stepKey =" clickVoidTxn" />
20
23
<waitForPageLoad stepKey =" waitForTxnToLoad" />
21
24
<grabTextFrom selector =" {{AdminTransactionsGridSection.transactionId}}" stepKey =" getVoidTransaction" />
Original file line number Diff line number Diff line change 15
15
<waitForElementClickable selector =" {{AdminOrderDetailsMainActionsSection.void}}" stepKey =" waitForVoidButtonVisible" />
16
16
<click selector =" {{AdminOrderDetailsMainActionsSection.void}}" stepKey =" clickOnVoid" />
17
17
<waitForText selector =" {{AdminConfirmationModalSection.message}}" userInput =" Are you sure you want to void the payment?" stepKey =" seeConfirmationMessage" />
18
- <click selector =" {{AdminConfirmationModalSection.ok}}" stepKey =" confirmOrderCancel" />
19
- <waitForText selector =" {{AdminMessagesSection.success}}" userInput =" The payment has been voided." stepKey =" seeCancelSuccessMessage" />
18
+ <waitForElementClickable selector =" {{AdminConfirmationModalSection.ok}}" stepKey =" waitForOkButtonToBeClicked" />
19
+ <click selector =" {{AdminConfirmationModalSection.ok}}" stepKey =" confirmVoid" />
20
+ <waitForText selector =" {{AdminMessagesSection.success}}" userInput =" The payment has been voided." stepKey =" seeVoidedSuccessMessage" />
20
21
</actionGroup >
21
22
</actionGroups >
You can’t perform that action at this time.
0 commit comments