File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Config/Test/Mftf/Section/CatalogSection Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 31
31
<element name =" productsPerPageOnGridBankTransferPaymentDefaultValueUseConfigCheckbox" type =" checkbox" selector =" //input[@id='payment_us_banktransfer_title_inherit']" />
32
32
<element name =" dateAndTimeCustomOptions" type =" select" selector =" #catalog_custom_options-head" />
33
33
<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']" />
34
35
</section >
35
36
</sections >
Original file line number Diff line number Diff line change 18
18
<group value =" Payments" />
19
19
</annotations >
20
20
<before >
21
-
22
21
<createData entity =" defaultSimpleProduct" stepKey =" createProduct" />
23
22
<actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
24
23
<actionGroup ref =" CreateCustomStoreActionGroup" stepKey =" createCustomStore" >
36
35
<argument name =" defaultStoreName" value =" {{customStoreGroup.name}}" />
37
36
</actionGroup >
38
37
<magentoCLI command =" config:set {{enabledBankTransferPaymentOrder.label}} {{enabledBankTransferPaymentOrder.value}}" stepKey =" enableBankTransfer" />
39
- <amOnPage url =" {{AdminConfigPaymentMethodsPage.url}}" stepKey =" navigateToPaymentConfigurationPage" />
40
- <waitForPageLoad stepKey =" waitForSecondStorePageLoad" />
41
38
</before >
42
39
<after >
43
40
<magentoCLI command =" config:set {{DisablePaymentBankTransferConfigData.path}} {{DisablePaymentBankTransferConfigData.value}}" stepKey =" disableBankTransferPayment" />
44
41
<deleteData stepKey =" deleteProduct" createDataKey =" createProduct" />
45
42
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
46
43
</after >
44
+ <amOnPage url =" {{AdminConfigPaymentMethodsPage.url}}" stepKey =" navigateToPaymentConfigurationPage" />
45
+ <waitForPageLoad stepKey =" waitForSecondStorePageLoad" />
47
46
<actionGroup ref =" AdminSwitchSecondStoreViewActionGroup" stepKey =" AdminSwitchSecondStoreView" >
48
47
<argument name =" secondStoreView" value =" customStoreEN" />
49
48
</actionGroup >
49
+ <scrollTo selector =" {{CatalogSection.expandedTab}}" stepKey =" clickExpandSearchEngineOptimisation" />
50
50
<uncheckOption selector =" {{CatalogSection.productsPerPageOnGridBankTransferPaymentDefaultValueUseConfigCheckbox}}" stepKey =" uncheckUseSystemValue" />
51
51
<fillField selector =" {{CatalogSection.productsPerPageOnGridAllowedBankTransferPaymentValues}}" userInput =" Bank Transfer Payment(Second)" stepKey =" fillProductQuantity" />
52
52
<waitForElementClickable selector =" {{AdminConfigSection.saveButton}}" stepKey =" waitForSaveConfigbtn" />
You can’t perform that action at this time.
0 commit comments