File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed
AsyncConfig/Test/Mftf/Test
MessageQueue/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<!--
3- /**
4- * Copyright © Magento, Inc. All rights reserved.
5- * See COPYING.txt for license details .
6- */
3+ /**
4+ * Copyright 2025 Adobe
5+ * All Rights Reserved .
6+ */
77-->
88<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
99 xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
5959 <see selector =" {{CatalogSection.successMessage}}" userInput =" Configuration changes will be applied by consumer soon." stepKey =" seeCustomSuccessMessage" />
6060
6161 <!-- Trigger the Consumer-->
62- <magentoCLI stepKey =" EnableAsyncConfig" command =" queue:consumers:start saveConfigProcessor --max-messages=1" />
63-
62+ <actionGroup ref =" CliConsumerStartActionGroup" stepKey =" EnableAsyncConfig" >
63+ <argument name =" consumerName" value =" saveConfigProcessor" />
64+ <argument name =" maxMessages" value =" 1" />
65+ </actionGroup >
6466 <!-- Open Configuration Page Again-->
6567 <amOnPage url =" {{CatalogConfigPage.url}}" stepKey =" navigateToConfigurationPageAgain" />
6668 <waitForPageLoad stepKey =" waitForPageLoadAgain" />
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<!--
3- /**
4- * Copyright © Magento, Inc. All rights reserved.
5- * See COPYING.txt for license details .
6- */
3+ /**
4+ * Copyright 2025 Adobe
5+ * All Rights Reserved .
6+ */
77-->
8-
98<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
109 xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
1110 <actionGroup name =" CliConsumerStartActionGroup" >
1514 <arguments >
1615 <argument name =" consumerName" type =" string" />
1716 <argument name =" maxMessages" type =" string" />
17+ <argument name =" timeout" type =" string" defaultValue =" 10" />
1818 </arguments >
1919
20- <magentoCLI command =" queue:consumers:start {{consumerName}} --max-messages={{maxMessages}}" stepKey =" startMessageQueue" />
20+ <magentoCLI timeout = " {{timeout}} " command =" queue:consumers:start {{consumerName}} --max-messages={{maxMessages}}" stepKey =" startMessageQueue" />
2121 </actionGroup >
2222</actionGroups >
You can’t perform that action at this time.
0 commit comments