Skip to content

Commit 434741f

Browse files
ACQE-6375 : Registered Checkout Using PayPal Smart Button and Flat Rate
Removed Giftcard steps from CE and will be added in EE
1 parent 3181fa6 commit 434741f

File tree

5 files changed

+0
-70
lines changed

5 files changed

+0
-70
lines changed

app/code/Magento/Catalog/Test/Mftf/Data/ProductData.xml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1527,25 +1527,4 @@
15271527
<data key="weight">1</data>
15281528
<data key="price">10</data>
15291529
</entity>
1530-
<entity name="GiftCard" type="product">
1531-
<data key="name" unique="suffix">GiftCard</data>
1532-
<data key="sku" unique="suffix">GiftCard</data>
1533-
<data key="type_id">giftcard</data>
1534-
<data key="attribute_set_id">4</data>
1535-
<data key="quantity">1000</data>
1536-
<data key="card_type">Physical</data>
1537-
<array key="amounts">
1538-
<item>10.00</item>
1539-
<item>50.00</item>
1540-
</array>
1541-
<array key="negativeAmount">
1542-
<item>-10.00</item>
1543-
</array>
1544-
<array key="amountsInteger">
1545-
<item>10</item>
1546-
<item>50</item>
1547-
</array>
1548-
<data key="status">1</data>
1549-
<data key="urlKey" unique="suffix">giftcard</data>
1550-
</entity>
15511530
</entities>

app/code/Magento/Paypal/Test/Mftf/ActionGroup/AddGiftCardAmountActionGroup.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

app/code/Magento/Paypal/Test/Mftf/ActionGroup/AdminFillGiftCardProductFieldsActionGroup.xml

Lines changed: 0 additions & 14 deletions
This file was deleted.

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

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@
3636
</createData>
3737
</before>
3838
<after>
39-
<actionGroup ref="DeleteProductBySkuActionGroup" stepKey="deleteProduct">
40-
<argument name="sku" value="{{GiftCard.sku}}"/>
41-
</actionGroup>
4239
<magentoCLI command="config:set paypal/general/merchant_country US" stepKey="setMerchantCountry"/>
4340
<magentoCLI command="config:set payment/paypal_express/active 0" stepKey="disablePayPalExpress"/>
4441
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer" />
@@ -53,25 +50,11 @@
5350
<actionGroup ref="GoToSpecifiedCreateProductPageActionGroup" stepKey="openProductFillForm">
5451
<argument name="productType" value="giftcard"/>
5552
</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"/>
6653
<!-- Save gift card product -->
6754
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
6855
<actionGroup ref="LoginToStorefrontActionGroup" stepKey="signUpNewUser">
6956
<argument name="Customer" value="$$createCustomer$$"/>
7057
</actionGroup>
71-
<!-- Quick search gift card product -->
72-
<actionGroup ref="StorefrontCheckQuickSearchActionGroup" stepKey="quickSearchForGiftCardProduct">
73-
<argument name="phrase" value="GiftCard.sku"/>
74-
</actionGroup>
7558
<!-- Go to gift card product page on storefront -->
7659
<seeElement selector="{{StorefrontCategoryMainSection.productLink}}" stepKey="seeProductsInCategory"/>
7760
<waitForElementClickable selector="{{StorefrontCategoryMainSection.productLink}}" stepKey="waitForProductClickable"/>
@@ -127,9 +110,5 @@
127110
<!-- Check comment history -->
128111
<actionGroup ref="AdminOpenOrderCommentsHistoryActionGroup" stepKey="clickOnCommentsHistory"/>
129112
<waitForText selector="{{AdminOrderCommentsTabSection.orderCommentsWithType('Captured amount')}}" userInput="Captured amount of $15.00 online. Transaction ID: &quot;{$grabLastTransactionIDForCaptured}&quot;" 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"/>
134113
</test>
135114
</tests>
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
ButtonCustomization
22
LoginToPayPalPaymentAccount
33
OpenPayPalButtonCheckoutPage
4-
addGiftCardAmount

0 commit comments

Comments
 (0)