From 87283c985062ff6b6e6144d25c52c5b286ea45e4 Mon Sep 17 00:00:00 2001 From: Eldar Iusupzhanov Date: Wed, 8 Apr 2026 23:55:55 +0800 Subject: [PATCH 1/4] unskip tests --- .../scheduler/common/layout/customization/cellSizesCss.ts | 2 +- .../tests/scheduler/common/virtualScrolling/appointments.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/e2e/testcafe-devextreme/tests/scheduler/common/layout/customization/cellSizesCss.ts b/e2e/testcafe-devextreme/tests/scheduler/common/layout/customization/cellSizesCss.ts index b9bbedf6b64e..3dd124482087 100644 --- a/e2e/testcafe-devextreme/tests/scheduler/common/layout/customization/cellSizesCss.ts +++ b/e2e/testcafe-devextreme/tests/scheduler/common/layout/customization/cellSizesCss.ts @@ -95,7 +95,7 @@ const HORIZONTAL_VIEW_CROSS_SCROLLING_CASES = { HORIZONTAL_VIEW_CROSS_SCROLLING_CASES, ].forEach(({ views, expect, crossScrollingEnabled }) => { views.forEach((view) => { - test.skip( + test( `Cells should have correct sizes and css classes (view:${view}, crossScrolling:${crossScrollingEnabled})`, async (t) => { const scheduler = new Scheduler(SELECTOR); diff --git a/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts b/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts index e9e25947bfbe..0e1bb821a864 100644 --- a/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts +++ b/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts @@ -9,11 +9,12 @@ import { scrollToDate } from '../../helpers/utils'; fixture.disablePageReloads`Scheduler: Virtual Scrolling` .page(url(__dirname, '../../../container.html')); -test.skip('Appointment should not repaint after scrolling if present on viewport', async (t) => { +test('Appointment should not repaint after scrolling if present on viewport', async (t) => { const scheduler = new Scheduler('#container'); const { element } = scheduler.getAppointment('', 0); await setStyleAttribute(element, 'background-color: red;'); + await t.expect(await getStyleAttribute(element)).eql('transform: translate(525px, 200px); width: 49px; height: 100px; background-color: red;'); await scrollToDate(new Date(2020, 8, 17, 4)); From fcf201dc83d6f2ce6b7be04b6535a8a188154109 Mon Sep 17 00:00:00 2001 From: Eldar Iusupzhanov Date: Thu, 9 Apr 2026 11:57:43 +0800 Subject: [PATCH 2/4] fix test --- .../scheduler/common/virtualScrolling/appointments.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts b/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts index 0e1bb821a864..970b7a35a8b1 100644 --- a/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts +++ b/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts @@ -14,12 +14,11 @@ test('Appointment should not repaint after scrolling if present on viewport', as const { element } = scheduler.getAppointment('', 0); await setStyleAttribute(element, 'background-color: red;'); - - await t.expect(await getStyleAttribute(element)).eql('transform: translate(525px, 200px); width: 49px; height: 100px; background-color: red;'); + const initialStyle = await getStyleAttribute(element); await scrollToDate(new Date(2020, 8, 17, 4)); - await t.expect(await getStyleAttribute(element)).eql('transform: translate(525px, 200px); width: 49px; height: 100px; background-color: red;'); + await t.expect(await getStyleAttribute(element)).eql(initialStyle); }).before(async () => { await createWidget('dxScheduler', { height: 600, @@ -27,8 +26,6 @@ test('Appointment should not repaint after scrolling if present on viewport', as currentDate: new Date(2020, 8, 7), scrolling: { mode: 'virtual', - orientation: 'both', - outlineCount: 0, }, currentView: 'week', views: [{ From 8e96d49b8dae7254f404298af3a0adeda32a6f32 Mon Sep 17 00:00:00 2001 From: Eldar Iusupzhanov Date: Thu, 9 Apr 2026 12:12:25 +0800 Subject: [PATCH 3/4] apply copilot review --- .../tests/scheduler/common/virtualScrolling/appointments.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts b/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts index 970b7a35a8b1..55e5b91b2019 100644 --- a/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts +++ b/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts @@ -17,6 +17,7 @@ test('Appointment should not repaint after scrolling if present on viewport', as const initialStyle = await getStyleAttribute(element); await scrollToDate(new Date(2020, 8, 17, 4)); + await t.wait(300); await t.expect(await getStyleAttribute(element)).eql(initialStyle); }).before(async () => { From 56319b25d4c3401bce1f9832e2d554128885ae39 Mon Sep 17 00:00:00 2001 From: Eldar Iusupzhanov Date: Thu, 9 Apr 2026 13:13:15 +0800 Subject: [PATCH 4/4] skip --- .../tests/scheduler/common/virtualScrolling/appointments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts b/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts index 55e5b91b2019..2e6720e7a653 100644 --- a/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts +++ b/e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts @@ -9,7 +9,7 @@ import { scrollToDate } from '../../helpers/utils'; fixture.disablePageReloads`Scheduler: Virtual Scrolling` .page(url(__dirname, '../../../container.html')); -test('Appointment should not repaint after scrolling if present on viewport', async (t) => { +test.skip('Appointment should not repaint after scrolling if present on viewport', async (t) => { const scheduler = new Scheduler('#container'); const { element } = scheduler.getAppointment('', 0);