|
11 | 11 | <annotations>
|
12 | 12 | <features value="PayPal"/>
|
13 | 13 | <stories value="Payment methods"/>
|
14 |
| - <title value="Configuration for paypal pay later on Category page"/> |
| 14 | + <title value="Configuration for paypal pay later on Category Page"/> |
15 | 15 | <description value="Paypal Pay Later Message should display on Admin Category Page configuration"/>
|
16 | 16 | <severity value="CRITICAL"/>
|
17 | 17 | <testCaseId value="AC-5639"/>
|
|
35 | 35 | <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
|
36 | 36 | </after>
|
37 | 37 | <actionGroup ref="EnablePaylaterPaypalStandardActionGroup" stepKey="enablePaypalStandard"/>
|
| 38 | + <actionGroup ref="ValidatePaylaterDropdownValuesActionGroup" stepKey="verifyPaylaterDropdownVales"/> |
38 | 39 | <!-- Reindex and cache flush -->
|
39 |
| - <magentoCLI command="indexer:reindex" stepKey="performReindex"/> |
40 |
| - <magentoCLI command="cache:flush" stepKey="cleanCache"/> |
| 40 | + <actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex"> |
| 41 | + <argument name="indices" value=""/> |
| 42 | + </actionGroup> |
| 43 | + <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanMagentoCache"> |
| 44 | + <argument name="tags" value="config full_page"/> |
| 45 | + </actionGroup> |
41 | 46 | <!--Navigate to Storefront-->
|
42 | 47 | <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToStoreFront"/>
|
43 | 48 | <actionGroup ref="ValidatePaylaterInStorefrontActionGroup" stepKey="verifyPaylaterInStorefrontCategoryPage"/>
|
44 | 49 | <!--Disable Paypal Standard-->
|
45 | 50 | <magentoCLI command="config:set {{DisablePaypalPayStandard.path}} {{DisablePaypalPayStandard.value}}" stepKey="disablePayPalStandard"/>
|
46 | 51 | <!-- Reindex and cache flush -->
|
47 |
| - <magentoCLI command="indexer:reindex" stepKey="performReIndex"/> |
48 |
| - <magentoCLI command="cache:flush" stepKey="flushCache"/> |
| 52 | + <actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex1"> |
| 53 | + <argument name="indices" value=""/> |
| 54 | + </actionGroup> |
| 55 | + <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanMagentoCache1"> |
| 56 | + <argument name="tags" value="config full_page"/> |
| 57 | + </actionGroup> |
49 | 58 | <!--Validate Paylater Message On Storefront Category Page-->
|
50 | 59 | <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToStoreFrontPage"/>
|
51 | 60 | <waitForPageLoad stepKey="waitForItemPage"/>
|
52 | 61 | <waitForElementClickable selector="{{PayPalStandardConfigSection.categoryClick}}" stepKey="waitForCategoryToBeClickable"/>
|
53 | 62 | <click selector ="{{PayPalStandardConfigSection.categoryClick}}" stepKey="clickCatagoryTab"/>
|
54 | 63 | <waitForPageLoad stepKey="waitForCategoryPageTobeLoaded"/>
|
55 |
| - <dontSeeElement selector="{{PayPalStandardConfigSection.paypalPaylaterMessage}}" stepKey="verifyPaylaterMessageToBeDisappeared"/> |
| 64 | + <waitForElementNotVisible selector="{{PayPalStandardConfigSection.paypalPaylaterMessage}}" stepKey="verifyPaylaterMessageToBeDisappeared"/> |
56 | 65 | </test>
|
57 | 66 | </tests>
|
58 | 67 |
|
|
0 commit comments