|
36 | 36 | </createData> |
37 | 37 | </before> |
38 | 38 | <after> |
39 | | - <actionGroup ref="DeleteProductBySkuActionGroup" stepKey="deleteProduct"> |
40 | | - <argument name="sku" value="{{GiftCard.sku}}"/> |
41 | | - </actionGroup> |
42 | 39 | <magentoCLI command="config:set paypal/general/merchant_country US" stepKey="setMerchantCountry"/> |
43 | 40 | <magentoCLI command="config:set payment/paypal_express/active 0" stepKey="disablePayPalExpress"/> |
44 | 41 | <actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer" /> |
|
53 | 50 | <actionGroup ref="GoToSpecifiedCreateProductPageActionGroup" stepKey="openProductFillForm"> |
54 | 51 | <argument name="productType" value="giftcard"/> |
55 | 52 | </actionGroup> |
56 | | - <!-- Fill gift card product values --> |
57 | | - <actionGroup ref="AdminFillGiftCardProductFieldsActionGroup" stepKey="fillGiftCardProductFields"> |
58 | | - <argument name="product" value="GiftCard"/> |
59 | | - </actionGroup> |
60 | | - <!-- Add amount to gift card product --> |
61 | | - <actionGroup ref="addGiftCardAmount" stepKey="addAmountToGiftCard"> |
62 | | - <argument name="giftCardAmount" value="GiftCard.amounts[0]"/> |
63 | | - </actionGroup> |
64 | | - <!-- Add gift card product to category --> |
65 | | - <searchAndMultiSelectOption selector="{{AdminProductFormSection.categoriesDropdown}}" parameterArray="[$$createCategory.name$$]" stepKey="fillCategory" after="addAmountToGiftCard"/> |
66 | 53 | <!-- Save gift card product --> |
67 | 54 | <actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/> |
68 | 55 | <actionGroup ref="LoginToStorefrontActionGroup" stepKey="signUpNewUser"> |
69 | 56 | <argument name="Customer" value="$$createCustomer$$"/> |
70 | 57 | </actionGroup> |
71 | | - <!-- Quick search gift card product --> |
72 | | - <actionGroup ref="StorefrontCheckQuickSearchActionGroup" stepKey="quickSearchForGiftCardProduct"> |
73 | | - <argument name="phrase" value="GiftCard.sku"/> |
74 | | - </actionGroup> |
75 | 58 | <!-- Go to gift card product page on storefront --> |
76 | 59 | <seeElement selector="{{StorefrontCategoryMainSection.productLink}}" stepKey="seeProductsInCategory"/> |
77 | 60 | <waitForElementClickable selector="{{StorefrontCategoryMainSection.productLink}}" stepKey="waitForProductClickable"/> |
|
127 | 110 | <!-- Check comment history --> |
128 | 111 | <actionGroup ref="AdminOpenOrderCommentsHistoryActionGroup" stepKey="clickOnCommentsHistory"/> |
129 | 112 | <waitForText selector="{{AdminOrderCommentsTabSection.orderCommentsWithType('Captured amount')}}" userInput="Captured amount of $15.00 online. Transaction ID: "{$grabLastTransactionIDForCaptured}"" stepKey="seeOrderHistoryNotes"/> |
130 | | - <!-- Go to invoice tab and verify invoice is present--> |
131 | | - <actionGroup ref="AdminOpenInvoiceTabFromOrderPageActionGroup" stepKey="clickInvoicesTabOrdersPage"/> |
132 | | - <waitForElementVisible selector="{{AdminOrderInvoicesTabSection.viewInvoice}}" stepKey="waitForInvoicesTabOpenedOne"/> |
133 | | - <seeElement selector="{{AdminOrderInvoicesTabSection.viewInvoice}}" stepKey="seeForInvoicesTabOpenedOne"/> |
134 | 113 | </test> |
135 | 114 | </tests> |
0 commit comments