Skip to content

Commit 5be567f

Browse files
Scheduler — QUnit test flakiness for workspace group header cell height comparison (DevExpress#32843)
1 parent 90c263f commit 5be567f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/devextreme/testing/tests/DevExpress.ui.widgets.scheduler/integration.workSpace.tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,8 +1101,8 @@ module('Integration: Work space', { ...moduleConfig }, () => {
11011101
const fifthHeaderCell = headerCells.eq(4);
11021102
const dateTableCell = scheduler.workSpace.getCells().eq(0);
11031103

1104-
assert.equal(getInnerHeight(firstHeaderCell), getInnerHeight(fifthHeaderCell), 'Header cells have same height');
1105-
assert.equal(getInnerHeight(fifthHeaderCell), getInnerHeight(dateTableCell), 'Header cell and table cell have same height');
1104+
assert.roughEqual(getInnerHeight(firstHeaderCell), getInnerHeight(fifthHeaderCell), 0.5, 'Header cells have same height');
1105+
assert.roughEqual(getInnerHeight(fifthHeaderCell), getInnerHeight(dateTableCell), 0.5, 'Header cell and table cell have same height');
11061106
});
11071107

11081108
isDesktopEnvironment() && test('SelectedCellData option should be correct when virtual scrolling is enabled', async function(assert) {

0 commit comments

Comments
 (0)