File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
app/code/Magento/Catalog/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 26
26
<createData entity =" tierProductPriceDiscount" stepKey =" addTierPrice" >
27
27
<requiredEntity createDataKey =" createProduct" />
28
28
</createData >
29
-
30
- <createData entity =" specialProductPrice2" stepKey =" addSpecialToSimpleProduct" >
31
- <requiredEntity createDataKey =" createProduct" />
32
- <field key =" price" >65.00</field >
33
- </createData >
34
- <magentoCLI command =" cron:run --group=index" stepKey =" runCronIndex" />
35
29
</before >
36
30
<after >
37
31
<deleteData createDataKey =" createProduct" stepKey =" deleteSimpleProduct" />
38
32
<deleteData createDataKey =" createCategory" stepKey =" deleteCategory" />
39
33
</after >
40
34
35
+ <actionGroup ref =" LoginAsAdmin" stepKey =" LoginAsAdmin" />
36
+
37
+ <actionGroup ref =" GoToProductPageViaIDActionGroup" stepKey =" openAdminProductEditPage" >
38
+ <argument name =" productId" value =" $createProduct.id$" />
39
+ </actionGroup >
40
+
41
+ <actionGroup ref =" AddSpecialPriceToProductActionGroup" stepKey =" addSpecialPriceToProduct" >
42
+ <argument name =" price" value =" 65.00" />
43
+ </actionGroup >
44
+
45
+ <actionGroup ref =" SaveProductFormActionGroup" stepKey =" saveProductForm" />
46
+
41
47
<actionGroup ref =" StorefrontOpenProductPageActionGroup" stepKey =" openProductPage" >
42
48
<argument name =" productUrl" value =" $createProduct.custom_attributes[url_key]$" />
43
49
</actionGroup >
44
- <waitForPageLoad stepKey =" waitForProductPageLoad" />
45
50
46
51
<actionGroup ref =" AssertStorefrontProductDetailPageNameActionGroup" stepKey =" assertProductNameText" >
47
52
<argument name =" productName" value =" $createProduct.name$" />
You can’t perform that action at this time.
0 commit comments