File tree Expand file tree Collapse file tree 3 files changed +24
-1
lines changed
dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Bundle Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 28
28
<data key =" type" >bundle</data >
29
29
<data key =" fixedPrice" >10</data >
30
30
<data key =" fixedPriceFormatted" >$10.00</data >
31
+ <data key =" defaultAttribute" >Default</data >
31
32
</entity >
32
33
<entity name =" ApiBundleProduct" type =" product2" >
33
34
<data key =" name" unique =" suffix" >Api Bundle Product</data >
Original file line number Diff line number Diff line change 16
16
<description value =" Admin should be able to add/edit bundle items when creating/editing a bundle product" />
17
17
<severity value =" MAJOR" />
18
18
<testCaseId value =" MC-223" />
19
- <group value =" banana " />
19
+ <group value =" Bundle " />
20
20
</annotations >
21
21
<before >
22
22
<!-- Creating data-->
Original file line number Diff line number Diff line change 60
60
<argument name =" product" value =" BundleProduct" />
61
61
</actionGroup >
62
62
<seeElement selector =" {{AdminProductCatalog.attributeSetOfFirstRow(ProductAttributeFrontendLabel.label)}}" stepKey =" seeAttributeSet" />
63
+
64
+ <!-- Editing Attribute set-->
65
+ <click selector =" {{AdminProductCatalog.attributeSetOfFirstRow(ProductAttributeFrontendLabel.label)}}" stepKey =" clickAttributeSet2" />
66
+ <waitForPageLoad stepKey =" waitForPageLoad2" />
67
+ <pauseExecution stepKey =" pause2" />
68
+
69
+ <click selector =" {{AdminProductFormSection.attributeSet}}" stepKey =" startEditAttrSet2" />
70
+ <fillField selector =" {{AdminProductFormSection.attributeSetFilter}}" userInput =" {{BundleProduct.defaultAttribute}}" stepKey =" searchForAttrSet2" />
71
+ <click selector =" {{AdminProductFormSection.attributeSetFilterResult}}" stepKey =" selectAttrSet2" />
72
+
73
+ <!-- save the product/published by default-->
74
+ <click selector =" {{AdminProductFormActionSection.saveButton}}" stepKey =" clickSaveButton2" />
75
+ <seeElement selector =" {{AdminCategoryMessagesSection.SuccessMessage}}" stepKey =" messageYouSavedTheProductIsShown2" />
76
+
77
+ <!-- Testing that price appears correctly in admin catalog-->
78
+ <!-- Set filter to product name-->
79
+ <amOnPage url =" {{AdminCatalogProductPage.url}}" stepKey =" GoToCatalogProductPage2" />
80
+ <waitForPageLoad stepKey =" WaitForPageToLoad2" />
81
+ <actionGroup ref =" filterProductGridByName" stepKey =" filterBundleProductOptionsDownToName2" >
82
+ <argument name =" product" value =" BundleProduct" />
83
+ </actionGroup >
84
+ <seeElement selector =" {{AdminProductCatalog.attributeSetOfFirstRow(BundleProduct.defaultAttribute)}}" stepKey =" seeAttributeSet2" />
63
85
</test >
64
86
</tests >
You can’t perform that action at this time.
0 commit comments