Skip to content

Commit 04e8573

Browse files
ACQE-6375:Registered Checkout Using PayPal Smart Button and Flat Rate
Removed the dependency of gift card action group by adding new testcase in gift card
1 parent dbd9d66 commit 04e8573

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

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

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,6 @@
5353
<actionGroup ref="GoToSpecifiedCreateProductPageActionGroup" stepKey="openProductFillForm">
5454
<argument name="productType" value="giftcard"/>
5555
</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>
6456
<!-- Add gift card product to category -->
6557
<searchAndMultiSelectOption selector="{{AdminProductFormSection.categoriesDropdown}}" parameterArray="[$$createCategory.name$$]" stepKey="fillCategory" after="addAmountToGiftCard"/>
6658
<!-- Save gift card product -->
@@ -127,9 +119,5 @@
127119
<!-- Check comment history -->
128120
<actionGroup ref="AdminOpenOrderCommentsHistoryActionGroup" stepKey="clickOnCommentsHistory"/>
129121
<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"/>
134-
</test>
122+
</test>
135123
</tests>

0 commit comments

Comments
 (0)