Skip to content

Commit 5e17f54

Browse files
committed
ACQE-6370: Registered Customers uses Paypal Express Checkout configuration with valid credentials
- Created data file and did required changes in test file
1 parent 06c0d95 commit 5e17f54

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<testCaseId value="AC-5246"/>
1818
<group value="3rd_party_integration"/>
1919
<group value="paypalExpress"/>
20+
<group value="pr_exclude"/>
2021
</annotations>
2122
<before>
2223
<!-- Precondition1: create Simple product -->
@@ -65,8 +66,9 @@
6566
<actionGroup ref="AdminOpenOrderCommentsHistoryActionGroup" stepKey="clickOnCommentsHistory"/>
6667
<waitForText selector="{{AdminOrderCommentsTabSection.orderComment}}" userInput="Authorized amount of $15.00." stepKey="seeOrderHistoryNotes"/>
6768
<!--Open invoice tab and verify the invoice is present-->
69+
<waitForElementClickable selector="{{AdminOrderDetailsOrderViewSection.invoices}}" stepKey="waitForInvoicesTabToBeClickable"/>
6870
<click selector="{{AdminOrderDetailsOrderViewSection.invoices}}" stepKey="clickOrderInvoicesTab"/>
69-
<waitForLoadingMaskToDisappear stepKey="waitForInvoiceGridLoadingMask"/>
70-
<waitForText selector="{{AdminOrderDetailsMainActionsSection.invoiceTabContent1}}" userInput="We couldn't find any records." stepKey="verifyThereIsNoInvoiceCreated"/>
71+
<waitForPageLoad stepKey="waitForInvoiceGridLoadingMask"/>
72+
<waitForText selector="{{AdminOrderDetailsMainActionsSection.invoiceTabContent1}}" userInput="{{InvoiceTabErrorMessage.error_Message}}" stepKey="verifyThereIsNoInvoiceCreated"/>
7173
</test>
7274
</tests>

app/code/Magento/Sales/Test/Mftf/Data/InvoiceData.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@
1313
<entity name="Invoice" type="Invoice">
1414
<var key="quote_id" entityKey="return" entityType="CustomerCart"/>
1515
</entity>
16-
16+
<entity name="InvoiceTabErrorMessage" type="message">
17+
<data key="error_Message">We couldn't find any records.</data>
18+
</entity>
1719
</entities>

0 commit comments

Comments
 (0)