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 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
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
+ */
7
7
-->
8
8
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
9
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
59
59
<see selector =" {{CatalogSection.successMessage}}" userInput =" Configuration changes will be applied by consumer soon." stepKey =" seeCustomSuccessMessage" />
60
60
61
61
<!-- 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 >
64
66
<!-- Open Configuration Page Again-->
65
67
<amOnPage url =" {{CatalogConfigPage.url}}" stepKey =" navigateToConfigurationPageAgain" />
66
68
<waitForPageLoad stepKey =" waitForPageLoadAgain" />
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
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
+ */
7
7
-->
8
-
9
8
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
9
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
10
<actionGroup name =" CliConsumerStartActionGroup" >
15
14
<arguments >
16
15
<argument name =" consumerName" type =" string" />
17
16
<argument name =" maxMessages" type =" string" />
17
+ <argument name =" timeout" type =" string" defaultValue =" 10" />
18
18
</arguments >
19
19
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" />
21
21
</actionGroup >
22
22
</actionGroups >
You can’t perform that action at this time.
0 commit comments