Skip to content

Commit 6e5b13e

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

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
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
@@ -31,5 +31,6 @@
3131
<element name="productsPerPageOnGridBankTransferPaymentDefaultValueUseConfigCheckbox" type="checkbox" selector="//input[@id='payment_us_banktransfer_title_inherit']"/>
3232
<element name="dateAndTimeCustomOptions" type="select" selector="#catalog_custom_options-head"/>
3333
<element name="CheckIfTabExpandForDateAndTimeCustomOptions" type="button" selector="#catalog_custom_options-head:not(.open)"/>
34+
<element name="expandedTab" type="button" selector="//a[@id='payment_us_banktransfer-head']"/>
3435
</section>
3536
</sections>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<group value="Payments"/>
1919
</annotations>
2020
<before>
21-
2221
<createData entity="defaultSimpleProduct" stepKey="createProduct"/>
2322
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2423
<actionGroup ref="CreateCustomStoreActionGroup" stepKey="createCustomStore">
@@ -36,17 +35,18 @@
3635
<argument name="defaultStoreName" value="{{customStoreGroup.name}}"/>
3736
</actionGroup>
3837
<magentoCLI command="config:set {{enabledBankTransferPaymentOrder.label}} {{enabledBankTransferPaymentOrder.value}}" stepKey="enableBankTransfer"/>
39-
<amOnPage url="{{AdminConfigPaymentMethodsPage.url}}" stepKey="navigateToPaymentConfigurationPage"/>
40-
<waitForPageLoad stepKey="waitForSecondStorePageLoad"/>
4138
</before>
4239
<after>
4340
<magentoCLI command="config:set {{DisablePaymentBankTransferConfigData.path}} {{DisablePaymentBankTransferConfigData.value}}" stepKey="disableBankTransferPayment"/>
4441
<deleteData stepKey="deleteProduct" createDataKey="createProduct"/>
4542
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
4643
</after>
44+
<amOnPage url="{{AdminConfigPaymentMethodsPage.url}}" stepKey="navigateToPaymentConfigurationPage"/>
45+
<waitForPageLoad stepKey="waitForSecondStorePageLoad"/>
4746
<actionGroup ref="AdminSwitchSecondStoreViewActionGroup" stepKey="AdminSwitchSecondStoreView">
4847
<argument name="secondStoreView" value="customStoreEN"/>
4948
</actionGroup>
49+
<scrollTo selector="{{CatalogSection.expandedTab}}" stepKey="clickExpandSearchEngineOptimisation"/>
5050
<uncheckOption selector="{{CatalogSection.productsPerPageOnGridBankTransferPaymentDefaultValueUseConfigCheckbox}}" stepKey="uncheckUseSystemValue"/>
5151
<fillField selector="{{CatalogSection.productsPerPageOnGridAllowedBankTransferPaymentValues}}" userInput="Bank Transfer Payment(Second)" stepKey="fillProductQuantity"/>
5252
<waitForElementClickable selector="{{AdminConfigSection.saveButton}}" stepKey="waitForSaveConfigbtn" />

0 commit comments

Comments
 (0)