|
15 | 15 | <severity value="MAJOR"/>
|
16 | 16 | <testCaseId value="AC-3928"/>
|
17 | 17 | <group value="3rd_party_integration"/>
|
18 |
| -<!-- <group value="paypalExpress"/>--> |
| 18 | + <group value="paypalExpress"/> |
19 | 19 | <!-- <group value="pr_exclude" />-->
|
20 | 20 | </annotations>
|
21 | 21 | <before>
|
22 | 22 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
|
23 |
| - <!-- New Customer --> |
| 23 | + <magentoCLI command="config:set {{StorefrontPaypalExpressAuthorizationPaymentActionOptionConfigData.path}} {{StorefrontPaypalExpressAuthorizationPaymentActionOptionConfigData.value}}" stepKey="setPaymentActionAuthorization"/>--> |
| 24 | + <magentoCLI command="config:set {{StorefrontPaypalEnableTransferCartLineConfigData.path}} {{StorefrontPaypalEnableTransferCartLineConfigData.value}}" stepKey="enableTransferCartLine"/> |
| 25 | + <!-- New Customer --> |
24 | 26 | <createData entity="Simple_US_Customer" stepKey="createCustomer">
|
25 | 27 | <field key="firstname">John1</field>
|
26 | 28 | <field key="lastname">Doe1</field>
|
27 | 29 | </createData>
|
28 | 30 | <createData entity="SimpleProduct2" stepKey="simpleProduct">
|
29 | 31 | <field key="price">1</field>
|
30 | 32 | </createData>
|
31 |
| - <actionGroup ref="AdminPayPalExpressCheckoutEnableActionGroup" stepKey="ConfigPayPalExpress"> |
32 |
| - <argument name="credentials" value="SamplePaypalExpressConfig2"/> |
33 |
| - </actionGroup> |
34 | 33 | </before>
|
35 | 34 | <after>
|
36 | 35 | <magentoCLI command="config:set paypal/general/merchant_country US" stepKey="setMerchantCountry"/>
|
37 |
| - <magentoCLI command="config:set payment/paypal_express/active 0" stepKey="disablePayPalExpress"/> |
38 | 36 | <magentoCLI command="config:set payment/wps_express/active 0" stepKey="disableWPSExpress"/>
|
39 | 37 | <actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer" />
|
40 | 38 | <deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
|
|
76 | 74 | <waitForElementClickable selector="{{AdminOrderDetailsOrderViewSection.invoices}}" stepKey="waitForInvoicesTabClickable" />
|
77 | 75 | <click selector="{{AdminOrderDetailsOrderViewSection.invoices}}" stepKey="openInvoicesTab"/>
|
78 | 76 | <!--Check Invoice Section -->
|
79 |
| - <waitForElementVisible selector="{{AdminOrderDetailsMainActionsSection.invoiceTabContent1}}" stepKey="waitForInvoiceSectionContentToBeAppeared"/> |
| 77 | + <waitForText selector="{{AdminOrderDetailsMainActionsSection.invoiceTabContent1}}" userInput="We couldn't find any records." stepKey="verifyThereIsNoInvoiceCreated"/> |
80 | 78 | </test>
|
81 | 79 | </tests>
|
0 commit comments