Skip to content

Commit c94dedc

Browse files
committed
ACQE-7162:Checking Bank Transfer Payment store label is being displayed on order/invoice/shipping/creditmemo details
Testcase updated
1 parent 3995eac commit c94dedc

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

app/code/Magento/Config/Test/Mftf/Section/CatalogSection/CatalogSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@
3232
<element name="dateAndTimeCustomOptions" type="select" selector="#catalog_custom_options-head"/>
3333
<element name="CheckIfTabExpandForDateAndTimeCustomOptions" type="button" selector="#catalog_custom_options-head:not(.open)"/>
3434
<element name="expandedTab" type="button" selector="//a[@id='payment_us_banktransfer-head']"/>
35+
<element name="paymentInformation" type="button" selector="//*[contains(text(), 'Shipping Method')]"/>
3536
</section>
3637
</sections>

app/code/Magento/Paypal/Test/Mftf/Test/AdminPaymentBankTransferHavingMultipleStoresTest.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@
3636
</actionGroup>
3737
<magentoCLI command="config:set {{enabledBankTransferPaymentOrder.label}} {{enabledBankTransferPaymentOrder.value}}" stepKey="enableBankTransfer"/>
3838
</before>
39+
<after>
40+
<magentoCLI command="config:set {{DisablePaymentBankTransferConfigData.path}} {{DisablePaymentBankTransferConfigData.value}}" stepKey="disableBankTransferPayment"/>
41+
<deleteData stepKey="deleteProduct" createDataKey="createProduct"/>
42+
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
43+
</after>
3944
<amOnPage url="{{AdminConfigPaymentMethodsPage.url}}" stepKey="navigateToPaymentConfigurationPage"/>
4045
<waitForPageLoad stepKey="waitForSecondStorePageLoad"/>
4146
<actionGroup ref="AdminSwitchSecondStoreViewActionGroup" stepKey="AdminSwitchSecondStoreView">
@@ -66,10 +71,11 @@
6671
</actionGroup>
6772
<actionGroup ref="AdminClickInvoiceButtonOrderViewActionGroup" stepKey="clickInvoiceButton"/>
6873
<actionGroup ref="AdminInvoiceClickSubmitActionGroup" stepKey="clickSubmitInvoice"/>
74+
<scrollTo selector="{{CatalogSection.paymentInformation}}" stepKey="scrollToPaymentAndShippingInformation"/>
6975
<waitForText selector="{{AdminOrderPaymentInformationSection.paymentMethod}}" userInput="Bank Transfer Payment(Second)" stepKey="seePaymentMethodName"/>
7076
<click selector="{{AdminOrderDetailsMainActionsSection.ship}}" stepKey="clickShipAction"/>
7177
<click selector="{{AdminShipmentMainActionsSection.submitShipment}}" stepKey="clickSubmitShipment"/>
72-
<scrollTo selector="{{CatalogSection.paymentInformation}}" stepKey="scrollToPaymentAndShippingInformation"/>
78+
<scrollTo selector="{{CatalogSection.paymentInformation}}" stepKey="scrollToPaymentAndShippingInformation1"/>
7379
<waitForText selector="{{AdminOrderPaymentInformationSection.paymentMethod}}" userInput="Bank Transfer Payment(Second)" stepKey="seePaymentMethodName2"/>
7480
<actionGroup ref="AdminStartToCreateCreditMemoFromOrderPageActionGroup" stepKey="startCreatingCreditMemo"/>
7581
<actionGroup ref="SubmitCreditMemoActionGroup" stepKey="submitCreditMemo"/>

0 commit comments

Comments
 (0)