Skip to content

Commit d121a44

Browse files
committed
ACQE-7005: Several Terms and Conditions with different types are presented on Payflow Link review page
Updated branch
1 parent 82c4f22 commit d121a44

File tree

1 file changed

+0
-60
lines changed

1 file changed

+0
-60
lines changed

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

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -18,67 +18,7 @@
1818
<group value="paypalPayflowLink"/>
1919
<group value="3rd_party_integration"/>
2020
</annotations>
21-
<before>
22-
<!-- Enable Terms And Condition-->
23-
<!--<magentoCLI command="config:set checkout/options/enable_agreements 1" stepKey="setEnableTermsOnCheckout"/>
24-
&lt;!&ndash;Create a simple product&ndash;&gt;
25-
<createData entity="SimpleProduct" stepKey="createSimpleProduct"/>
26-
&lt;!&ndash;Create a US Customer&ndash;&gt;
27-
<createData entity="Simple_US_Customer" stepKey="createCustomer"/>
28-
&lt;!&ndash;Login to admin&ndash;&gt;
29-
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
30-
&lt;!&ndash;Create terms and conditions&ndash;&gt;
31-
<actionGroup ref="AdminTermsConditionsOpenNewTermPageActionGroup" stepKey="openNewTerm"/>
32-
<actionGroup ref="AdminTermsConditionsFillTermEditFormActionGroup" stepKey="fillNewTerm">
33-
<argument name="term" value="newHtmlTerm"/>
34-
</actionGroup>
35-
<actionGroup ref="AdminTermsConditionsSaveTermActionGroup" stepKey="saveNewTerm"/>
36-
<actionGroup ref="AdminTermsConditionsOpenNewTermPageActionGroup" stepKey="openNewHTMLTerm"/>
37-
<actionGroup ref="AdminTermsConditionsFillTermEditFormActionGroup" stepKey="fillNewHTMLTerm">
38-
<argument name="term" value="newHtmlAutomaticallyTerm"/>
39-
</actionGroup>
40-
<actionGroup ref="AdminTermsConditionsSaveTermActionGroup" stepKey="saveNewHTMLTerm"/>
41-
&lt;!&ndash;Clear cache and reindex&ndash;&gt;
42-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
43-
<argument name="indices" value=""/>
44-
</actionGroup>
45-
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
46-
<argument name="tags" value="config full_page"/>
47-
</actionGroup>-->
48-
</before>
49-
<after>
50-
<!--Admin delete terms and condition-->
51-
<!--<actionGroup ref="AdminTermsConditionsOpenGridActionGroup" stepKey="openTermsGridToDelete"/>
52-
<actionGroup ref="AdminDeleteAllTermConditionsActionGroup" stepKey="deleteAllTerms"/>
53-
&lt;!&ndash;Delete created product&ndash;&gt;
54-
<deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>
55-
&lt;!&ndash; Delete created customer &ndash;&gt;
56-
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
57-
&lt;!&ndash;Logout&ndash;&gt;
58-
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>-->
59-
</after>
60-
<!--Login to storefront and open created simple product-->
61-
<!--<actionGroup ref="LoginToStorefrontActionGroup" stepKey="customerLogin">
62-
<argument name="Customer" value="$createCustomer$" />
63-
</actionGroup>
64-
<actionGroup ref="StorefrontOpenProductEntityPageActionGroup" stepKey="goToProductOnStorefront">
65-
<argument name="product" value="$$createSimpleProduct$$"/>
66-
</actionGroup>
67-
&lt;!&ndash; Add product to cart and then select shipping method on checkout page&ndash;&gt;
68-
<actionGroup ref="AddToCartFromStorefrontProductPageActionGroup" stepKey="addToCartFromStorefrontProductPage">
69-
<argument name="productName" value="$createSimpleProduct.name$"/>
70-
</actionGroup>
71-
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCheckoutCartPage"/>
72-
<actionGroup ref="StorefrontClickProceedToCheckoutActionGroup" stepKey="clickProceedToCheckout"/>
73-
<actionGroup ref="StorefrontSetShippingMethodActionGroup" stepKey="selectFlatrate">
74-
<argument name="shippingMethodName" value="Flat Rate"/>
75-
</actionGroup>
76-
<actionGroup ref="StorefrontCheckoutClickNextOnShippingStepActionGroup" stepKey="clickNextOnShippingStep"/>-->
7721
<!-- Checkout select Credit Card (Payflow link)-->
7822
<conditionalClick selector="{{StorefrontCheckoutPaymentMethodSection.checkPaymentMethodByName('Credit Card (Payflow Link)')}}" dependentSelector="{{StorefrontCheckoutPaymentMethodSection.checkPaymentMethodByName('Credit Card (Payflow Link)')}}" visible="true" after="clickNextOnShippingStep" stepKey="selectCreditCardPaymentMethod"/>
79-
<!--<waitForText selector="{{StorefrontCheckoutAgreementsSection.checkoutAgreementLink}}" userInput="{{newHtmlTerm.checkboxText}}" stepKey="seeTermInCheckout"/>
80-
<waitForElementClickable selector="{{StorefrontCheckoutAgreementsSection.checkoutAgreement(enabledHtmlTerm.checkboxText)}}" stepKey="waitToClickOnHTMLTerm"/>
81-
<click selector="{{StorefrontCheckoutAgreementsSection.checkoutAgreement(enabledHtmlTerm.checkboxText)}}" stepKey="clickOnHTMLTerm"/>
82-
<waitForElement selector="{{StorefrontCheckoutAgreementsSection.contentArea(newHtmlAutomaticallyTerm.content)}}" stepKey="verifyAutomaticTermContentTextMessage"/>-->
8323
</test>
8424
</tests>

0 commit comments

Comments
 (0)