|
29 | 29 | <waitForPageLoad stepKey="waitForAddLayoutTabToLoad"/>
|
30 | 30 | <selectOption selector="{{CmsNewWidgetUpdateLayoutSection.DisplayOn}}" userInput="{{WidgetDisplayOn}}" stepKey="selectDisplay"/>
|
31 | 31 | <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskDisappear3" />
|
32 |
| - <selectOption selector="//input[@id='specific_anchor_categories_0']" userInput="Specific Categories" stepKey="selectSpecificCategoryRadioButton"/> |
33 |
| - <click selector="//*[@id='anchor_categories_ids_0']/p/a[1]/img" stepKey="clickCategoryChooserButton"/> |
| 32 | + <selectOption selector="{{CmsNewWidgetUpdateLayoutSection.SpecificCategories}}" userInput="Specific Categories" stepKey="selectSpecificCategoryRadioButton"/> |
| 33 | + <click selector="{{CmsNewWidgetUpdateLayoutSection.CategoryChooserButton}}" stepKey="clickCategoryChooserButton"/> |
34 | 34 | <waitForPageLoad stepKey="waitForRootCategoryToLoad"/>
|
35 |
| - <click selector="//img[@class='x-tree-ec-icon x-tree-elbow-end-plus']" stepKey="clickRootCat"/> |
| 35 | + <click selector="{{CmsNewWidgetUpdateLayoutSection.RootCat}}" stepKey="clickRootCat"/> |
36 | 36 | <waitForPageLoad stepKey="waitForRootCategoryToExpand"/>
|
37 |
| - <click selector="//img[@class='x-tree-ec-icon x-tree-elbow-end-plus']" stepKey="clickFirstSubCat"/> |
| 37 | + <click selector="{{CmsNewWidgetUpdateLayoutSection.FirstSubCat}}" stepKey="clickFirstSubCat"/> |
38 | 38 | <waitForPageLoad stepKey="waitForFirstSubCatToExpand"/>
|
39 |
| - <click selector="//img[@class='x-tree-ec-icon x-tree-elbow-end-plus']" stepKey="expandSecondSubCat"/> |
| 39 | + <click selector="{{CmsNewWidgetUpdateLayoutSection.SecondSubCat}}" stepKey="expandSecondSubCat"/> |
40 | 40 | <waitForPageLoad stepKey="waitForSecondSubCatToExpand"/>
|
41 |
| - <click selector="//img[@class='x-tree-ec-icon x-tree-elbow-end-plus']" stepKey="expandThirdFirstSubCat"/> |
| 41 | + <click selector="{{CmsNewWidgetUpdateLayoutSection.ThirdSubCat}}" stepKey="expandThirdFirstSubCat"/> |
42 | 42 | <waitForPageLoad stepKey="waitForThirdSubCatToExpand"/>
|
43 |
| - <click selector="//img[@class='x-tree-ec-icon x-tree-elbow-end-plus']" stepKey="expandFourthSubCat"/> |
| 43 | + <click selector="{{CmsNewWidgetUpdateLayoutSection.FourthSubCat}}" stepKey="expandFourthSubCat"/> |
44 | 44 | <waitForPageLoad stepKey="waitForFourthSubCatToExpand"/>
|
45 |
| - <click selector="//img[@class='x-tree-ec-icon x-tree-elbow-end-plus']" stepKey="expandFifthSubCat"/> |
| 45 | + <click selector="{{CmsNewWidgetUpdateLayoutSection.FifthSubCat}}" stepKey="expandFifthSubCat"/> |
46 | 46 | <waitForPageLoad stepKey="waitForFifthSubCatToExpand"/>
|
47 |
| - <grabMultiple selector="//*[@class='x-tree-ec-icon x-tree-elbow-end-minus' or @class='x-tree-ec-icon x-tree-elbow-end']" stepKey="countNestedCategory"/> |
| 47 | + <grabMultiple selector="{{CmsNewWidgetUpdateLayoutSection.CountAllNestedCat}}" stepKey="countNestedCategory"/> |
48 | 48 | <assertCount stepKey="check">
|
49 | 49 | <expectedResult type="int">7</expectedResult>
|
50 | 50 | <actualResult type="variable">countNestedCategory</actualResult>
|
|
0 commit comments