|
59 | 59 | <actionGroup ref="AdminSwitchStoreViewActionGroup" stepKey="AdminSwitchStoreViewActionGroup"/>
|
60 | 60 | <!-- Update attribute -->
|
61 | 61 | <checkOption selector="{{AdminEditProductAttributesSection.ChangeAttributePriceToggle}}" stepKey="toggleToChangePrice"/>
|
62 |
| - <fillField selector="{{AdminEditProductAttributesSection.AttributePrice}}" userInput="$$createProductOne.price$$0" stepKey="fillAttributeNameField"/> |
| 62 | + <fillField selector="{{AdminEditProductAttributesSection.AttributePrice}}" userInput="$createProductOne.price$0" stepKey="fillAttributeNameField"/> |
63 | 63 | <click selector="{{AdminEditProductAttributesSection.Save}}" stepKey="save"/>
|
64 | 64 | <waitForElementVisible selector="{{AdminMessagesSection.success}}" time="60" stepKey="waitForSuccessMessage"/>
|
65 | 65 | <see selector="{{AdminMessagesSection.success}}" userInput="Message is added to queue" stepKey="seeAttributeUpdateSuccessMsg"/>
|
66 | 66 |
|
67 |
| - <!-- Run cron twice --> |
68 |
| - <magentoCLI command="cron:run" arguments="--group=consumers" stepKey="runCron1"/> |
69 |
| - <magentoCLI command="cron:run" arguments="--group=consumers" stepKey="runCron2"/> |
70 |
| - <magentoCLI command="indexer:reindex" stepKey="reindex"/> |
| 67 | + <!-- Start message queue for product attribute consumer --> |
| 68 | + <actionGroup ref="CliConsumerStartActionGroup" stepKey="startMessageQueue"> |
| 69 | + <argument name="consumerName" value="{{AdminProductAttributeUpdateMessageConsumerData.consumerName}}"/> |
| 70 | + <argument name="maxMessages" value="{{AdminProductAttributeUpdateMessageConsumerData.messageLimit}}"/> |
| 71 | + </actionGroup> |
71 | 72 |
|
72 | 73 | <!-- Assert on storefront default view -->
|
73 | 74 | <actionGroup ref="GoToStoreViewAdvancedCatalogSearchActionGroup" stepKey="GoToStoreViewAdvancedCatalogSearchActionGroupDefault"/>
|
74 | 75 | <actionGroup ref="StorefrontAdvancedCatalogSearchByProductNameAndPriceActionGroup" stepKey="searchByNameDefault">
|
75 |
| - <argument name="name" value=""$$createProductOne.name$$""/> |
76 |
| - <argument name="priceFrom" value="$$createProductOne.price$$0"/> |
77 |
| - <argument name="priceTo" value="$$createProductOne.price$$0"/> |
| 76 | + <argument name="name" value=""$createProductOne.name$""/> |
| 77 | + <argument name="priceFrom" value="$createProductOne.price$0"/> |
| 78 | + <argument name="priceTo" value="$createProductOne.price$0"/> |
78 | 79 | </actionGroup>
|
79 | 80 | <actionGroup ref="StorefrontCheckAdvancedSearchResultActionGroup" stepKey="StorefrontCheckAdvancedSearchResultDefault"/>
|
80 | 81 | <waitForElementVisible selector="{{StorefrontCatalogSearchAdvancedResultMainSection.itemFound}}" stepKey="waitForSearchResultInDefaultView"/>
|
|
84 | 85 | <actionGroup ref="GoToStoreViewAdvancedCatalogSearchActionGroup" stepKey="GoToStoreViewAdvancedCatalogSearchActionGroupCustom"/>
|
85 | 86 | <actionGroup ref="StorefrontSwitchStoreViewActionGroup" stepKey="StorefrontSwitchStoreViewActionGroup"/>
|
86 | 87 | <actionGroup ref="StorefrontAdvancedCatalogSearchByProductNameAndPriceActionGroup" stepKey="searchByNameCustom">
|
87 |
| - <argument name="name" value=""$$createProductOne.name$$""/> |
88 |
| - <argument name="priceFrom" value="$$createProductOne.price$$0"/> |
89 |
| - <argument name="priceTo" value="$$createProductOne.price$$0"/> |
| 88 | + <argument name="name" value=""$createProductOne.name$""/> |
| 89 | + <argument name="priceFrom" value="$createProductOne.price$0"/> |
| 90 | + <argument name="priceTo" value="$createProductOne.price$0"/> |
90 | 91 | </actionGroup>
|
91 | 92 | <actionGroup ref="StorefrontCheckAdvancedSearchResultActionGroup" stepKey="StorefrontCheckAdvancedSearchResultCustom"/>
|
92 | 93 | <waitForElementVisible selector="{{StorefrontCatalogSearchAdvancedResultMainSection.itemFound}}" stepKey="waitForSearchResultInCustomView"/>
|
|
0 commit comments