diff --git a/e2e/testcafe-devextreme/tests/pager/accessibility.ts b/e2e/testcafe-devextreme/tests/pager/accessibility.ts index 13481610b537..a3b9cbf441cb 100644 --- a/e2e/testcafe-devextreme/tests/pager/accessibility.ts +++ b/e2e/testcafe-devextreme/tests/pager/accessibility.ts @@ -3,57 +3,51 @@ import Pager from 'devextreme-testcafe-models/pager'; import url from '../../helpers/getPageUrl'; import { testAccessibility, Configuration } from '../../helpers/accessibility/test'; import { Options } from '../../helpers/generateOptionMatrix'; +import { testScreenshot } from '../../helpers/themeUtils'; fixture.disablePageReloads`Pager` .page(url(__dirname, '../container.html')); const options: Options = { - // disabled: [true, false], //not supported + totalCount: [50], + displayMode: ['full', 'compact'], infoText: [undefined, 'Total {2} items. Page {0} of {1}'], - pageCount: [10, 100], - pageSizes: [[1, 2, 3], [3, 6, 9]], showInfo: [true, false], showNavigationButtons: [true, false], showPageSizeSelector: [true, false], - visible: [true], }; -const defaultCreated = async (): Promise => {}; const created = async (t: TestController, optionConfiguration): Promise => { const { - visible, displayMode, infoText, - pageCount, - pageSizes, showInfo, showNavigationButtons, showPageSizeSelector, } = optionConfiguration; - if (!visible) { - return; - } - const { takeScreenshot, compareResults } = createScreenshotsComparer(t); const pager = new Pager('#container'); - await t - .expect(await takeScreenshot(`pager-dm_${displayMode}-` + + await testScreenshot( + t, + takeScreenshot, + `pager-dm_${displayMode}-` + `${infoText ? 'has' : 'has_no'}_it-` - + `pc_${pageCount}-` - + `ps_${pageSizes[0]}_${pageSizes[1]}_${pageSizes[2]}-` + `si_${showInfo.toString()}-` + `snb_${showNavigationButtons.toString()}-` + `spss_${showPageSizeSelector.toString()}` - + '.png', pager.element)) - .ok() + + '.png', + { element: pager.element }, + ); + await t .expect(compareResults.isValid()) .ok(compareResults.errorMessages()); }; const a11yCheckConfig = { - // NOTE: color-contrast issues + // NOTE: color-contrast issues rules: { 'color-contrast': { enabled: false } }, }; @@ -61,7 +55,7 @@ const configuration: Configuration = { component: 'dxPager', a11yCheckConfig, options, - created: defaultCreated || created, // Waiting pager specification + created, }; testAccessibility(configuration); diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..8e496b13faa1 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_false (generic-light).png new file mode 100644 index 000000000000..0f61a9f1404e Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_false (material-blue-light).png new file mode 100644 index 000000000000..618fa3f62c95 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..7e58c7a3a788 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_true (generic-light).png new file mode 100644 index 000000000000..14ff894b9efd Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_true (material-blue-light).png new file mode 100644 index 000000000000..ec7e2b4e7783 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_false-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..8e496b13faa1 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_false (generic-light).png new file mode 100644 index 000000000000..0f61a9f1404e Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_false (material-blue-light).png new file mode 100644 index 000000000000..618fa3f62c95 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..7e58c7a3a788 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_true (generic-light).png new file mode 100644 index 000000000000..14ff894b9efd Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_true (material-blue-light).png new file mode 100644 index 000000000000..ec7e2b4e7783 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_false-snb_true-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..972d63de4e50 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_false (generic-light).png new file mode 100644 index 000000000000..cd461d1ce383 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_false (material-blue-light).png new file mode 100644 index 000000000000..1167ba22226a Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..5145d753643d Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_true (generic-light).png new file mode 100644 index 000000000000..9d8300ef44ac Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_true (material-blue-light).png new file mode 100644 index 000000000000..df4c48f5c172 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_false-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..972d63de4e50 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_false (generic-light).png new file mode 100644 index 000000000000..cd461d1ce383 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_false (material-blue-light).png new file mode 100644 index 000000000000..1167ba22226a Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..5145d753643d Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_true (generic-light).png new file mode 100644 index 000000000000..9d8300ef44ac Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_true (material-blue-light).png new file mode 100644 index 000000000000..df4c48f5c172 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_it-si_true-snb_true-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..8e496b13faa1 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_false (generic-light).png new file mode 100644 index 000000000000..0f61a9f1404e Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_false (material-blue-light).png new file mode 100644 index 000000000000..618fa3f62c95 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..7e58c7a3a788 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_true (generic-light).png new file mode 100644 index 000000000000..14ff894b9efd Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_true (material-blue-light).png new file mode 100644 index 000000000000..ec7e2b4e7783 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_false-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..8e496b13faa1 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_false (generic-light).png new file mode 100644 index 000000000000..0f61a9f1404e Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_false (material-blue-light).png new file mode 100644 index 000000000000..618fa3f62c95 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..7e58c7a3a788 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_true (generic-light).png new file mode 100644 index 000000000000..14ff894b9efd Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_true (material-blue-light).png new file mode 100644 index 000000000000..ec7e2b4e7783 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_false-snb_true-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..13047b9705be Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_false (generic-light).png new file mode 100644 index 000000000000..0d27d4d827bd Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_false (material-blue-light).png new file mode 100644 index 000000000000..c502c94c2bac Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..6dcbae04e51a Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_true (generic-light).png new file mode 100644 index 000000000000..ec178c390b56 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_true (material-blue-light).png new file mode 100644 index 000000000000..ba60c68f2f91 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_false-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..13047b9705be Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_false (generic-light).png new file mode 100644 index 000000000000..0d27d4d827bd Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_false (material-blue-light).png new file mode 100644 index 000000000000..c502c94c2bac Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..6dcbae04e51a Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_true (generic-light).png new file mode 100644 index 000000000000..ec178c390b56 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_true (material-blue-light).png new file mode 100644 index 000000000000..ba60c68f2f91 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_compact-has_no_it-si_true-snb_true-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..d9e1dc237aca Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_false (generic-light).png new file mode 100644 index 000000000000..e2bca8fab8a0 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_false (material-blue-light).png new file mode 100644 index 000000000000..690e4cf6001d Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..0a40fcb95d67 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_true (generic-light).png new file mode 100644 index 000000000000..5c4b35cae893 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_true (material-blue-light).png new file mode 100644 index 000000000000..eb75cca3b6cc Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_false-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..b9c1101bb612 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_false (generic-light).png new file mode 100644 index 000000000000..3c8e30e3d2ed Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_false (material-blue-light).png new file mode 100644 index 000000000000..2d2b16d684f4 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..5646d77376ad Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_true (generic-light).png new file mode 100644 index 000000000000..fbbbbdecd317 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_true (material-blue-light).png new file mode 100644 index 000000000000..5e49108304bb Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_false-snb_true-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..4994c36a1e13 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_false (generic-light).png new file mode 100644 index 000000000000..57b5fafe15aa Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_false (material-blue-light).png new file mode 100644 index 000000000000..6d04e732a80f Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..7db5c4d12bae Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_true (generic-light).png new file mode 100644 index 000000000000..9ec7b954b597 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_true (material-blue-light).png new file mode 100644 index 000000000000..a260372d0fdb Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_false-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..4f3ef8deb203 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_false (generic-light).png new file mode 100644 index 000000000000..94d6a577af17 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_false (material-blue-light).png new file mode 100644 index 000000000000..deb261df91eb Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..daa10c91e7c2 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_true (generic-light).png new file mode 100644 index 000000000000..28ead85ff326 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_true (material-blue-light).png new file mode 100644 index 000000000000..480d02031b9b Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_it-si_true-snb_true-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..d9e1dc237aca Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_false (generic-light).png new file mode 100644 index 000000000000..e2bca8fab8a0 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_false (material-blue-light).png new file mode 100644 index 000000000000..690e4cf6001d Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..0a40fcb95d67 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_true (generic-light).png new file mode 100644 index 000000000000..5c4b35cae893 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_true (material-blue-light).png new file mode 100644 index 000000000000..eb75cca3b6cc Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_false-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..b9c1101bb612 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_false (generic-light).png new file mode 100644 index 000000000000..3c8e30e3d2ed Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_false (material-blue-light).png new file mode 100644 index 000000000000..2d2b16d684f4 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..5646d77376ad Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_true (generic-light).png new file mode 100644 index 000000000000..fbbbbdecd317 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_true (material-blue-light).png new file mode 100644 index 000000000000..5e49108304bb Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_false-snb_true-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..519b0138494a Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_false (generic-light).png new file mode 100644 index 000000000000..201bd22d2213 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_false (material-blue-light).png new file mode 100644 index 000000000000..61c92e81b615 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..1b255b757074 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_true (generic-light).png new file mode 100644 index 000000000000..3ebe6b6d4f5c Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_true (material-blue-light).png new file mode 100644 index 000000000000..3cea6a28d88f Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_false-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_false (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_false (fluent-blue-light).png new file mode 100644 index 000000000000..42fe8d11da43 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_false (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_false (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_false (generic-light).png new file mode 100644 index 000000000000..7d6f88d6e37a Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_false (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_false (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_false (material-blue-light).png new file mode 100644 index 000000000000..bfa31925bafe Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_false (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_true (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_true (fluent-blue-light).png new file mode 100644 index 000000000000..d2ca3911abbe Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_true (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_true (generic-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_true (generic-light).png new file mode 100644 index 000000000000..ad3e562d59fa Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_true (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_true (material-blue-light).png b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_true (material-blue-light).png new file mode 100644 index 000000000000..10895fd46233 Binary files /dev/null and b/e2e/testcafe-devextreme/tests/pager/etalons/pager-dm_full-has_no_it-si_true-snb_true-spss_true (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/pager/index.ts b/e2e/testcafe-devextreme/tests/pager/index.ts new file mode 100644 index 000000000000..ae1f19955ae8 --- /dev/null +++ b/e2e/testcafe-devextreme/tests/pager/index.ts @@ -0,0 +1,60 @@ +import Pager from 'devextreme-testcafe-models/pager'; +import url from '../../helpers/getPageUrl'; +import { createWidget } from '../../helpers/createWidget'; + +fixture`Pager Base Properties` + .page(url(__dirname, '../container.html')); + +test('Pager visibile property', async (t) => { + const pager = new Pager('#container'); + await t + .expect(pager.element.hasClass('dx-state-invisible')) + .ok(); +}).before(async () => createWidget('dxPager', { + totalCount: 50, + visible: false, +})); + +test('PageSize selector test', async (t) => { + const pager = new Pager('#container'); + + await t + .click(pager.getPageSize(1).element) + .expect(pager.option('pageCount')) + .eql(13); +}).before(async () => createWidget('dxPager', { + totalCount: 50, + pageIndex: 2, + pageSize: 8, // pageCount: 7 + allowedPageSizes: [2, 4, 8], +})); + +test('PageIndex test', async (t) => { + const pager = new Pager('#container'); + + await t + .expect(pager.option('pageIndex')) + .eql(1) + .click(pager.getNavPage('5').element) + .expect(pager.option('pageIndex')) + .eql(5); +}).before(async () => createWidget('dxPager', { + totalCount: 50, + pageIndex: 1, + pageSize: 5, // pageCount: 10 +})); + +test('PageIndex correction test', async (t) => { + const pager = new Pager('#container'); + + await t + .expect(pager.option('pageIndex')) + .eql(10) + .click(pager.getPageSize(1).element) + .expect(pager.option('pageIndex')) + .eql(5); +}).before(async () => createWidget('dxPager', { + totalCount: 50, + pageIndex: 10, + pageSize: 5, // pageCount: 10 +})); diff --git a/packages/devextreme/js/__internal/grids/grid_core/pager/m_pager.ts b/packages/devextreme/js/__internal/grids/grid_core/pager/m_pager.ts index c45015a7d95e..0f1c955d795b 100644 --- a/packages/devextreme/js/__internal/grids/grid_core/pager/m_pager.ts +++ b/packages/devextreme/js/__internal/grids/grid_core/pager/m_pager.ts @@ -88,7 +88,7 @@ export class PagerView extends modules.View { pageIndex: getPageIndex(dataController), pageCount: dataController.pageCount(), pageSize: dataController.pageSize(), - showPageSizes: pagerOptions.showPageSizeSelector, + showPageSizeSelector: pagerOptions.showPageSizeSelector, showInfo: pagerOptions.showInfo, displayMode: pagerOptions.displayMode, pagesNavigatorVisible: pagerOptions.visible, diff --git a/packages/devextreme/js/__internal/pager/common/base_pager_props.ts b/packages/devextreme/js/__internal/pager/common/base_pager_props.ts index 380b284ccad1..206c18bf88cc 100644 --- a/packages/devextreme/js/__internal/pager/common/base_pager_props.ts +++ b/packages/devextreme/js/__internal/pager/common/base_pager_props.ts @@ -17,7 +17,7 @@ export interface BasePagerProps extends BaseWidgetProps { visible?: boolean; hasKnownLastPage?: boolean; pagesNavigatorVisible?: boolean | 'auto'; - showPageSizes?: boolean; + showPageSizeSelector?: boolean; allowedPageSizes: (number | 'all')[]; rtlEnabled?: boolean; showNavigationButtons?: boolean; @@ -36,7 +36,7 @@ export const BasePagerDefaultProps: BasePagerProps = { visible: true, hasKnownLastPage: true, pagesNavigatorVisible: 'auto', - showPageSizes: true, + showPageSizeSelector: true, allowedPageSizes: [5, 10], showNavigationButtons: false, totalCount: 1, diff --git a/packages/devextreme/js/__internal/pager/content.tsx b/packages/devextreme/js/__internal/pager/content.tsx index 013997bc4f09..f5382ad4ae9c 100644 --- a/packages/devextreme/js/__internal/pager/content.tsx +++ b/packages/devextreme/js/__internal/pager/content.tsx @@ -178,7 +178,7 @@ export class PagerContent extends InfernoComponent { const { rtlEnabled, visible, - showPageSizes, + showPageSizeSelector, allowedPageSizesRef, pageSize, pageSizeChangedInternal, @@ -230,7 +230,7 @@ export class PagerContent extends InfernoComponent { { ...elementAttr as object } > - {showPageSizes && ( + {showPageSizeSelector && (