6
6
*/
7
7
-->
8
8
9
- <tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
- xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
9
+ <tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11
10
<test name =" AdminMassProductPriceUpdateTest" >
12
11
<annotations >
13
12
<stories value =" Mass product update" />
36
35
<actionGroup ref =" SortProductsByIdDescendingActionGroup" stepKey =" sortProductsByIdDescending" />
37
36
38
37
<actionGroup ref =" AdminCheckProductOnProductGridActionGroup" stepKey =" selectFirstProduct" >
39
- <argument name =" product" value =" $simpleProduct1$" />
38
+ <argument name =" product" value =" $simpleProduct1$" />
40
39
</actionGroup >
41
- <actionGroup ref =" AdminCheckProductOnProductGridActionGroup" stepKey =" selectSecondProduct" >
42
- <argument name =" product" value =" $simpleProduct2$" />
40
+ <actionGroup ref =" AdminCheckProductOnProductGridActionGroup" stepKey =" selectSecondProduct" >
41
+ <argument name =" product" value =" $simpleProduct2$" />
43
42
</actionGroup >
44
43
45
44
<actionGroup ref =" AdminClickMassUpdateProductAttributesActionGroup" stepKey =" clickDropdown" />
46
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" clickChangeStatus" />
47
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" waitForProductAttributePageToLoad" />
45
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" clickChangeStatus" />
46
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" waitForProductAttributePageToLoad" />
48
47
49
- <actionGroup ref =" AdminSetPriceForMassUpdateActionGroup" stepKey =" scrollToPriceCheckBox" >
50
- <argument name =" price" value =" 90.99" />
51
- </actionGroup >
52
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" selectPriceCheckBox" />
53
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" fillPrice" />
48
+ <actionGroup ref =" AdminSetPriceForMassUpdateActionGroup" stepKey =" scrollToPriceCheckBox" >
49
+ <argument name =" price" value =" 90.99" />
50
+ </actionGroup >
51
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" selectPriceCheckBox" />
52
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" fillPrice" />
54
53
55
54
<actionGroup ref =" AdminSaveProductsMassAttributesUpdateActionGroup" stepKey =" clickOnSaveButton" />
56
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" waitForUpdatedProductToSave" />
57
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seeAttributeUpateSuccessMsg" />
55
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" waitForUpdatedProductToSave" />
56
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seeAttributeUpateSuccessMsg" />
58
57
59
58
<actionGroup ref =" CliConsumerStartActionGroup" stepKey =" startMessageQueueConsumer" >
60
59
<argument name =" consumerName" value =" {{AdminProductAttributeUpdateConsumerData.consumerName}}" />
63
62
64
63
<magentoCLI command =" cron:run --group=index" stepKey =" runCron" />
65
64
66
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" openFirstProduct" />
65
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" openFirstProduct" />
67
66
<actionGroup ref =" AssertAdminProductPriceUpdatedOnEditPageActionGroup" stepKey =" waitForFirstProductToLoad" >
68
- <argument name =" product" value =" $$simpleProduct1$$" />
69
- <argument name =" price" value =" 90.99" />
67
+ <argument name =" product" value =" $$simpleProduct1$$" />
68
+ <argument name =" price" value =" 90.99" />
70
69
</actionGroup >
71
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seeFirstProductNameInField" />
72
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seeFirstProductSkuInField" />
73
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seeFirstProductPriceInField" />
74
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" clickOnBackButton" />
70
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seeFirstProductNameInField" />
71
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seeFirstProductSkuInField" />
72
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seeFirstProductPriceInField" />
73
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" clickOnBackButton" />
75
74
76
75
<actionGroup ref =" AdminOpenProductIndexPageActionGroup" stepKey =" waitForProductsToLoad" />
77
76
78
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" openSecondProduct" />
77
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" openSecondProduct" />
79
78
<actionGroup ref =" AssertAdminProductPriceUpdatedOnEditPageActionGroup" stepKey =" waitForSecondProductToLoad" >
80
- <argument name =" product" value =" $$simpleProduct2$$" />
81
- <argument name =" price" value =" 90.99" />
82
- </actionGroup >
83
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seeSecondProductNameInField" />
84
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seeSecondProductSkuInField" />
85
- <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seeSecondProductPriceInField" />
79
+ <argument name =" product" value =" $$simpleProduct2$$" />
80
+ <argument name =" price" value =" 90.99" />
81
+ </actionGroup >
82
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seeSecondProductNameInField" />
83
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seeSecondProductSkuInField" />
84
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seeSecondProductPriceInField" />
86
85
87
86
</test >
88
- </tests >
87
+ </tests >
0 commit comments