|
15 | 15 | <title value="Checking order of products in the 'catalog Products List' widget"/>
|
16 | 16 | <description value="Check that products are ordered with recently added products first"/>
|
17 | 17 | <severity value="MAJOR"/>
|
18 |
| - <testCaseId value="MC-13794"/> |
| 18 | + <testCaseId value="MC-27616"/> |
19 | 19 | <useCaseId value="MC-5905"/>
|
20 | 20 | <group value="catalogWidget"/>
|
21 | 21 | <group value="catalog"/>
|
|
46 | 46 | <deleteData createDataKey="createFirstProduct" stepKey="deleteFirstProduct"/>
|
47 | 47 | <deleteData createDataKey="createSecondProduct" stepKey="deleteSecondProduct"/>
|
48 | 48 | <deleteData createDataKey="createThirdProduct" stepKey="deleteThirdProduct"/>
|
49 |
| - <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> |
| 49 | + <actionGroup ref="AdminLogoutActionGroup" stepKey="logoutFromAdmin"/> |
50 | 50 | </after>
|
51 | 51 | <!--Open created cms page-->
|
52 | 52 | <actionGroup ref="AdminOpenCmsPageActionGroup" stepKey="openEditPage">
|
|
57 | 57 | <!--Add widget to cms page-->
|
58 | 58 | <waitForElementVisible selector="{{TinyMCESection.InsertWidgetIcon}}" stepKey="waitInsertWidgetIconVisible"/>
|
59 | 59 | <click selector="{{TinyMCESection.InsertWidgetIcon}}" stepKey="clickInsertWidgetIcon" />
|
60 |
| - <waitForPageLoad stepKey="waitForPageLoad1" /> |
61 | 60 | <waitForElementVisible selector="{{WidgetSection.WidgetType}}" stepKey="waitForWidgetTypeSelectorVisible"/>
|
62 | 61 | <selectOption selector="{{WidgetSection.WidgetType}}" userInput="Catalog Products List" stepKey="selectCatalogProductsList" />
|
63 |
| - <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskDisappear1" /> |
64 | 62 | <waitForElementVisible selector="{{WidgetSection.AddParam}}" stepKey="waitForAddParamBtnVisible"/>
|
65 | 63 | <click selector="{{WidgetSection.AddParam}}" stepKey="clickAddParamBtn" />
|
66 | 64 | <waitForElementVisible selector="{{WidgetSection.ConditionsDropdown}}" stepKey="waitForDropdownVisible"/>
|
|
70 | 68 | <click selector="{{WidgetSection.RuleParam}}" stepKey="clickRuleParam" />
|
71 | 69 | <waitForElementVisible selector="{{WidgetSection.Chooser}}" stepKey="waitForElement" />
|
72 | 70 | <click selector="{{WidgetSection.Chooser}}" stepKey="clickChooser" />
|
73 |
| - <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskDisappear3" /> |
74 | 71 | <waitForElementVisible selector="{{WidgetSection.PreCreateCategory('$simplecategory.name$')}}" stepKey="waitForCategoryVisible" />
|
75 | 72 | <click selector="{{WidgetSection.PreCreateCategory('$simplecategory.name$')}}" stepKey="selectCategory" />
|
76 | 73 | <click selector="{{WidgetSection.InsertWidget}}" stepKey="clickInsertWidget" />
|
77 |
| - <waitForPageLoad stepKey="waitForPageLoad2" /> |
78 | 74 | <!--Save cms page and go to Storefront-->
|
79 | 75 | <actionGroup ref="SaveCmsPageActionGroup" stepKey="saveCmsPage"/>
|
80 | 76 | <actionGroup ref="NavigateToStorefrontForCreatedPageActionGroup" stepKey="navigateToTheStoreFront1">
|
|
83 | 79 | <!--Check order of products: recently added first-->
|
84 | 80 | <waitForElementVisible selector="{{InsertWidgetSection.checkElementStorefrontByName('1','$createThirdProduct.name$')}}" stepKey="waitForThirdProductVisible"/>
|
85 | 81 | <seeElement selector="{{InsertWidgetSection.checkElementStorefrontByName('1','$createThirdProduct.name$')}}" stepKey="seeElementByName1"/>
|
86 |
| - <waitForElementVisible selector="{{InsertWidgetSection.checkElementStorefrontByName('2','$createSecondProduct.name$')}}" stepKey="waitForSecondProductVisible"/> |
87 | 82 | <seeElement selector="{{InsertWidgetSection.checkElementStorefrontByName('2','$createSecondProduct.name$')}}" stepKey="seeElementByName2"/>
|
88 |
| - <waitForElementVisible selector="{{InsertWidgetSection.checkElementStorefrontByName('3','$createFirstProduct.name$')}}" stepKey="waitForFirstProductVisible"/> |
89 | 83 | <seeElement selector="{{InsertWidgetSection.checkElementStorefrontByName('3','$createFirstProduct.name$')}}" stepKey="seeElementByName3"/>
|
90 | 84 | </test>
|
91 | 85 | </tests>
|
0 commit comments