|
18 | 18 | <group value="Payments"/>
|
19 | 19 | </annotations>
|
20 | 20 | <before>
|
| 21 | + <magentoCLI command="config:set {{EnablePaymentBankTransferConfigData.path}} {{EnablePaymentBankTransferConfigData.value}}" stepKey="enableBankTransferPayment"/> |
21 | 22 | <createData entity="defaultSimpleProduct" stepKey="createProduct"/>
|
22 | 23 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
|
23 | 24 | <actionGroup ref="CreateCustomStoreActionGroup" stepKey="createCustomStore">
|
|
34 | 35 | <argument name="storeGroupName" value="{{customStoreGroup.name}}"/>
|
35 | 36 | <argument name="defaultStoreName" value="{{customStoreGroup.name}}"/>
|
36 | 37 | </actionGroup>
|
37 |
| - <magentoCLI command="config:set {{enabledBankTransferPaymentOrder.label}} {{enabledBankTransferPaymentOrder.value}}" stepKey="enableBankTransfer"/> |
38 | 38 | </before>
|
39 | 39 | <after>
|
40 | 40 | <magentoCLI command="config:set {{DisablePaymentBankTransferConfigData.path}} {{DisablePaymentBankTransferConfigData.value}}" stepKey="disableBankTransferPayment"/>
|
41 | 41 | <deleteData stepKey="deleteProduct" createDataKey="createProduct"/>
|
42 | 42 | <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
|
43 | 43 | </after>
|
44 | 44 | <amOnPage url="{{AdminConfigPaymentMethodsPage.url}}" stepKey="navigateToPaymentConfigurationPage"/>
|
45 |
| - <waitForPageLoad stepKey="waitForSecondStorePageLoad"/> |
46 | 45 | <actionGroup ref="AdminSwitchSecondStoreViewActionGroup" stepKey="AdminSwitchSecondStoreView">
|
47 | 46 | <argument name="secondStoreView" value="customStoreEN"/>
|
48 | 47 | </actionGroup>
|
49 |
| - <waitForElementClickable selector="{{CatalogSection.expandedTab}}" stepKey="waitToClickExpandForBankTransferPayment"/> |
50 |
| - <click selector="{{CatalogSection.expandedTab}}" stepKey="clickExpandForBankTransferPayment"/> |
| 48 | + <waitForElementVisible selector="{{CatalogSection.expandedTab}}" stepKey="clickExpandSearchEngineOptimisation1"/> |
| 49 | + <click selector="{{CatalogSection.expandedTab}}" stepKey="clickExpandSearchEngineOptimisation2"/> |
51 | 50 | <uncheckOption selector="{{CatalogSection.productsPerPageOnGridBankTransferPaymentDefaultValueUseConfigCheckbox}}" stepKey="uncheckUseSystemValue"/>
|
52 | 51 | <fillField selector="{{CatalogSection.productsPerPageOnGridAllowedBankTransferPaymentValues}}" userInput="Bank Transfer Payment(Second)" stepKey="fillProductQuantity"/>
|
53 |
| - <waitForElementClickable selector="{{AdminConfigSection.saveButton}}" stepKey="waitForSaveConfigbtn" /> |
54 |
| - <click selector="{{AdminConfigSection.saveButton}}" stepKey="saveConfig"/> |
55 |
| - <waitForPageLoad stepKey="waitForPageLoad"/> |
| 52 | + <actionGroup ref="AdminSavePaymentConfigActionGroup" stepKey="clickSaveConfigBtn"/> |
56 | 53 | <actionGroup ref="StorefrontOpenProductEntityPageActionGroup" stepKey="openProductPage">
|
57 | 54 | <argument name="product" value="$createProduct$"/>
|
58 | 55 | </actionGroup>
|
|
75 | 72 | <waitForText selector="{{AdminOrderPaymentInformationSection.paymentMethod}}" userInput="Bank Transfer Payment(Second)" stepKey="seePaymentMethodName"/>
|
76 | 73 | <click selector="{{AdminOrderDetailsMainActionsSection.ship}}" stepKey="clickShipAction"/>
|
77 | 74 | <click selector="{{AdminShipmentMainActionsSection.submitShipment}}" stepKey="clickSubmitShipment"/>
|
78 |
| - <scrollTo selector="{{CatalogSection.paymentInformation}}" stepKey="scrollToPaymentAndShippingInformation1"/> |
| 75 | + <scrollTo selector="{{CatalogSection.paymentInformation}}" stepKey="scrollToPaymentAndShippingInformation2"/> |
79 | 76 | <waitForText selector="{{AdminOrderPaymentInformationSection.paymentMethod}}" userInput="Bank Transfer Payment(Second)" stepKey="seePaymentMethodName2"/>
|
80 | 77 | <actionGroup ref="AdminStartToCreateCreditMemoFromOrderPageActionGroup" stepKey="startCreatingCreditMemo"/>
|
81 | 78 | <actionGroup ref="SubmitCreditMemoActionGroup" stepKey="submitCreditMemo"/>
|
| 79 | + <scrollTo selector="{{CatalogSection.paymentInformation}}" stepKey="scrollToPaymentAndShippingInformation3"/> |
82 | 80 | <waitForText selector="{{AdminOrderPaymentInformationSection.paymentMethod}}" userInput="Bank Transfer Payment(Second)" stepKey="seePaymentMethodName3"/>
|
83 | 81 | </test>
|
84 | 82 | </tests>
|
0 commit comments