Skip to content

Commit 287a173

Browse files
authored
Scheduler - Unskip testcafe tests (#33200)
1 parent 838cfe5 commit 287a173

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

e2e/testcafe-devextreme/tests/scheduler/common/layout/customization/cellSizesCss.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const HORIZONTAL_VIEW_CROSS_SCROLLING_CASES = {
9595
HORIZONTAL_VIEW_CROSS_SCROLLING_CASES,
9696
].forEach(({ views, expect, crossScrollingEnabled }) => {
9797
views.forEach((view) => {
98-
test.skip(
98+
test(
9999
`Cells should have correct sizes and css classes (view:${view}, crossScrolling:${crossScrollingEnabled})`,
100100
async (t) => {
101101
const scheduler = new Scheduler(SELECTOR);

e2e/testcafe-devextreme/tests/scheduler/common/virtualScrolling/appointments.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,24 @@ import { scrollToDate } from '../../helpers/utils';
99
fixture.disablePageReloads`Scheduler: Virtual Scrolling`
1010
.page(url(__dirname, '../../../container.html'));
1111

12-
test.skip('Appointment should not repaint after scrolling if present on viewport', async (t) => {
12+
test('Appointment should not repaint after scrolling if present on viewport', async (t) => {
1313
const scheduler = new Scheduler('#container');
1414
const { element } = scheduler.getAppointment('', 0);
1515

1616
await setStyleAttribute(element, 'background-color: red;');
17-
await t.expect(await getStyleAttribute(element)).eql('transform: translate(525px, 200px); width: 49px; height: 100px; background-color: red;');
17+
const initialStyle = await getStyleAttribute(element);
1818

1919
await scrollToDate(new Date(2020, 8, 17, 4));
20+
await t.wait(300);
2021

21-
await t.expect(await getStyleAttribute(element)).eql('transform: translate(525px, 200px); width: 49px; height: 100px; background-color: red;');
22+
await t.expect(await getStyleAttribute(element)).eql(initialStyle);
2223
}).before(async () => {
2324
await createWidget('dxScheduler', {
2425
height: 600,
2526
width: 800,
2627
currentDate: new Date(2020, 8, 7),
2728
scrolling: {
2829
mode: 'virtual',
29-
orientation: 'both',
30-
outlineCount: 0,
3130
},
3231
currentView: 'week',
3332
views: [{

0 commit comments

Comments
 (0)