diff --git a/e2e/testcafe-devextreme/tests/pagination/baseProperties.ts b/e2e/testcafe-devextreme/tests/pagination/baseProperties.ts index 48a596549353..5427aed6f945 100644 --- a/e2e/testcafe-devextreme/tests/pagination/baseProperties.ts +++ b/e2e/testcafe-devextreme/tests/pagination/baseProperties.ts @@ -37,25 +37,32 @@ test('Pagination elementAttr property', async (t) => { }, })); -test('Pagination hint, disabled and accessKey properties', async (t) => { +test('Pagination hint and accessKey properties', async (t) => { const pagination = new Pagination('#container'); await t - .expect(pagination.element.getAttribute('aria-disabled')) - .eql('true') - .expect(pagination.element.hasClass('dx-state-disabled')) - .ok() .expect(pagination.element.getAttribute('accesskey')) .eql('F') .expect(pagination.element.getAttribute('title')) .eql('Best Pagination'); }).before(async () => createWidget('dxPagination', { hint: 'Best Pagination', - disabled: true, accessKey: 'F', itemCount: 50, focusStateEnabled: true, })); +test('Pagination disabled property', async (t) => { + const pagination = new Pagination('#container'); + await t + .expect(pagination.element.getAttribute('aria-disabled')) + .eql('true') + .expect(pagination.element.hasClass('dx-state-disabled')) + .ok(); +}).before(async () => createWidget('dxPagination', { + disabled: true, + itemCount: 50, +})); + test('Pagination tabindex and state properties', async (t) => { const pagination = new Pagination('#container'); await t @@ -95,7 +102,7 @@ test('Pagination focus method & accessKey propery without focusStateEnabled', as const pagination = new Pagination('#container'); await t .expect(pagination.element.getAttribute('accesskey')) - .eql('') + .eql(null) .expect(pagination.getPageSize(0).element.focused) .notOk();