|
45 | 45 | <fillField selector="{{AdminProductAttributeSetSection.name}}" userInput="{{ProductAttributeFrontendLabel.label}}" stepKey="fillName"/>
|
46 | 46 | <selectOption selector="{{AdminProductAttributeSetSection.basedOn}}" userInput="Default" stepKey="selectDefaultSet"/>
|
47 | 47 | <click selector="{{AdminProductAttributeSetSection.saveBtn}}" stepKey="clickSave1"/>
|
48 |
| - <dragAndDrop selector1="{{AdminProductAttributeSetSection.attribute('news_from_date')}}" selector2="{{AdminProductAttributeSetSection.attribute('manufacturer')}}" stepKey="unassign1"/> |
49 |
| - <dragAndDrop selector1="{{AdminProductAttributeSetSection.attribute('news_to_date')}}" selector2="{{AdminProductAttributeSetSection.attribute('manufacturer')}}" stepKey="unassign2"/> |
| 48 | + <dragAndDrop selector1="{{AdminProductAttributeSetSection.attribute('meta_keyword')}}" selector2="{{AdminProductAttributeSetSection.attribute('manufacturer')}}" stepKey="unassign1"/> |
50 | 49 | <click selector="{{AdminProductAttributeSetSection.addNewGroupBtn}}" stepKey="clickAddNewGroup"/>
|
51 | 50 | <fillField selector="{{AdminProductAttributeSetSection.newGroupName}}" userInput="TestGroupName" stepKey="fillNewGroupName"/>
|
52 | 51 | <click selector="{{AdminProductAttributeSetSection.modalOk}}" stepKey="clickOkInModal"/>
|
|
56 | 55 | <!-- Go to new product page and see a default attribute -->
|
57 | 56 | <amOnPage url="{{AdminProductCreatePage.url('4', 'simple')}}" stepKey="goToNewProductPage"/>
|
58 | 57 | <waitForPageLoad stepKey="wait2"/>
|
59 |
| - <seeElementInDOM selector="{{AdminProductFormSection.divByDataIndex('news_from_date')}}" stepKey="seeNewsFromDate"/> |
60 |
| - <seeElementInDOM selector="{{AdminProductFormSection.divByDataIndex('news_to_date')}}" stepKey="seeNewsToDate"/> |
| 58 | + <click selector="{{AdminProductSEOSection.sectionHeader}}" stepKey="expandSEOSection"/> |
| 59 | + <waitForPageLoad stepKey="wait3"/> |
| 60 | + <seeElementInDOM selector="{{AdminProductFormSection.divByDataIndex('meta_keyword')}}" stepKey="seeMetaKeyword"/> |
61 | 61 | <dontSeeElementInDOM selector="{{AdminProductFormSection.divByDataIndex('testgroupname')}}" stepKey="dontSeeTestGroupName"/>
|
62 | 62 |
|
63 | 63 | <!-- Switch from default attribute set to new attribute set -->
|
64 | 64 | <click selector="{{AdminProductFormSection.attributeSet}}" stepKey="startEditAttrSet"/>
|
65 | 65 | <fillField selector="{{AdminProductFormSection.attributeSetFilter}}" userInput="{{ProductAttributeFrontendLabel.label}}" stepKey="searchForAttrSet"/>
|
66 | 66 | <click selector="{{AdminProductFormSection.attributeSetFilterResult}}" stepKey="selectAttrSet"/>
|
67 |
| - <waitForPageLoad stepKey="wait3"/> |
| 67 | + <waitForPageLoad stepKey="wait4"/> |
68 | 68 |
|
69 | 69 | <!-- See new attibute set -->
|
70 | 70 | <seeElementInDOM selector="{{AdminProductFormSection.divByDataIndex('testgroupname')}}" stepKey="seeTestGroupName"/>
|
71 |
| - <dontSeeElementInDOM selector="{{AdminProductFormSection.divByDataIndex('news_from_date')}}" stepKey="dontSeeNewsFromDate"/> |
72 |
| - <dontSeeElementInDOM selector="{{AdminProductFormSection.divByDataIndex('news_to_date')}}" stepKey="dontSeeNewsToDate"/> |
| 71 | + <dontSeeElementInDOM selector="{{AdminProductFormSection.divByDataIndex('meta_keyword')}}" stepKey="dontSeeMetaKeyword"/> |
73 | 72 |
|
74 | 73 | <!-- Finish filling the new product page -->
|
75 | 74 | <actionGroup ref="fillMainProductFormNoWeight" stepKey="fillSimpleProductMain">
|
|
0 commit comments