|
17 | 17 |
|
18 | 18 |
|
19 | 19 | <!-- verify changes in List mode -->
|
20 |
| - <seeElement selector='//*[@id="maincontent"]//*[@data-value="list"]' stepKey="seePageInListView" /> |
21 |
| - <!--<see selector="{{AdminChecksListAndGridModeSection.listView}}" stepKey="seePageInListView"/>--> |
| 20 | + |
| 21 | + <seeElement selector="{{AdminChecksListAndGridModeSection.listView}}" stepKey="seePageInListView"/> |
| 22 | + <scrollTo selector="{{AdminChecksListAndGridModeSection.gridMode}}" stepKey="scrollToGridMode"/> |
22 | 23 | <click selector="{{AdminChecksListAndGridModeSection.gridMode}}" stepKey="clickGridMode"/>
|
23 |
| - <waitForPageLoad stepKey="waitForGridMode"/> |
24 |
| - <see selector="{{AdminChecksListAndGridModeSection.gridView}}" stepKey="seePageInGridView"/> |
25 |
| - <click selector="{{AdminChecksListAndGridModeSection.listMode}}" stepKey="switchToListMode"/> |
| 24 | + <waitForPageLoad stepKey="waitForGridMode"/> |
| 25 | + <seeElement selector="{{AdminChecksListAndGridModeSection.gridView}}" stepKey="seePageInGridView"/> |
| 26 | + <click selector="{{AdminChecksListAndGridModeSection.listView}}" stepKey="clickListMode"/> |
26 | 27 | <waitForPageLoad stepKey="waitForListMode"/>
|
27 |
| - <see selector="{{AdminChecksListAndGridModeSection.pageProduct}}" stepKey="seePageProduct"/> |
28 |
| - <see selector="{{AdminChecksListAndGridModeSection.sortByPrice}}" stepKey="seeSortByPriceInListMode"/> |
| 28 | + <seeNumberOfElements selector="{{StorefrontCategoryMainSection.productLink}}" userInput="1" stepKey="seeNumberOfProductsInPage1"/> |
29 | 29 | <click selector="{{AdminChecksListAndGridModeSection.productsPerPage}}" stepKey="clickProductsPerPageButtonInListMode"/>
|
30 | 30 | <waitForPageLoad stepKey="waitForProductsPerPage"/>
|
31 | 31 | <click selector="{{AdminChecksListAndGridModeSection.allButton}}" stepKey="selectAllButton"/>
|
32 | 32 | <waitForPageLoad stepKey="waitForSelectAll"/>
|
33 |
| - <see selector="{{AdminChecksListAndGridModeSection.allProducts}}" stepKey="seeAllProducts"/> |
| 33 | + <seeElement selector="{{AdminChecksListAndGridModeSection.allProducts}}" stepKey="seeAllProducts"/> |
34 | 34 | <click selector="{{AdminChecksListAndGridModeSection.gridMode}}" stepKey="switchToGridMode"/>
|
35 |
| - <see selector="{{AdminChecksListAndGridModeSection.gridView}}" stepKey="seePageInGridView2"/> |
36 |
| - <click selector="{{AdminChecksListAndGridModeSection.listMode}}" stepKey="switchToListMode1"/> |
37 |
| - <see selector="{{AdminChecksListAndGridModeSection.listView}}" stepKey="seePageInListView1"/> |
| 35 | + <seeElement selector="{{AdminChecksListAndGridModeSection.gridView}}" stepKey="seePageInGridView2"/> |
| 36 | + <click selector="{{StorefrontCategoryProductSection.categoryListView}}" stepKey="switchToListMode1"/> |
| 37 | + <seeElement selector="{{AdminChecksListAndGridModeSection.listView}}" stepKey="seePageInListView1"/> |
38 | 38 | <click selector="{{AdminChecksListAndGridModeSection.gridMode}}" stepKey="switchToGridMode1"/>
|
39 |
| - <see selector="{{AdminChecksListAndGridModeSection.allProducts}}" stepKey="seePageProductsInGrid"/> |
40 |
| - <see selector="{{AdminChecksListAndGridModeSection.sortByPrice}}" stepKey="seeSortByPriceInGridMode"/> |
41 | 39 | <click selector="{{AdminChecksListAndGridModeSection.productsPerPage}}" stepKey="clickProductsPerPageButtonInGridMode"/>
|
42 | 40 | <waitForPageLoad stepKey="waitForProductsPerPageOpen"/>
|
43 |
| - <see selector="{{AdminChecksListAndGridModeSection.pageOptions1}}" stepKey="seePageOptions1"/> |
44 |
| - <see selector="{{AdminChecksListAndGridModeSection.pageOptions2}}" stepKey="seePageOptions2"/> |
45 |
| - <see selector="{{AdminChecksListAndGridModeSection.pageOptions3}}" stepKey="seePageOptions3"/> |
46 |
| - <see selector="{{AdminChecksListAndGridModeSection.pageOptions4}}" stepKey="seePageOptions4"/> |
47 |
| - <see selector="{{AdminChecksListAndGridModeSection.pageOptions5}}" stepKey="seePageOptions5"/> |
| 41 | + <seeElement selector="{{AdminChecksListAndGridModeSection.pageOptions1}}" stepKey="seePageOptions1"/> |
| 42 | + <seeElement selector="{{AdminChecksListAndGridModeSection.pageOptions2}}" stepKey="seePageOptions2"/> |
| 43 | + <seeElement selector="{{AdminChecksListAndGridModeSection.pageOptions3}}" stepKey="seePageOptions3"/> |
| 44 | + <seeElement selector="{{AdminChecksListAndGridModeSection.pageOptions4}}" stepKey="seePageOptions4"/> |
| 45 | + <seeElement selector="{{AdminChecksListAndGridModeSection.pageOptions5}}" stepKey="seePageOptions5"/> |
48 | 46 |
|
49 | 47 |
|
50 | 48 |
|
|
0 commit comments