Skip to content

Commit bef1ad6

Browse files
Scheduler — QUnit test flakiness for workspace group header cell height comparison (DevExpress#32844)
1 parent a4ab430 commit bef1ad6

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
@@ -1135,8 +1135,8 @@ module('Integration: Work space', { ...moduleConfig }, () => {
11351135
const fifthHeaderCell = headerCells.eq(4);
11361136
const dateTableCell = scheduler.workSpace.getCells().eq(0);
11371137

1138-
assert.equal(getInnerHeight(firstHeaderCell), getInnerHeight(fifthHeaderCell), 'Header cells have same height');
1139-
assert.equal(getInnerHeight(fifthHeaderCell), getInnerHeight(dateTableCell), 'Header cell and table cell have same height');
1138+
assert.roughEqual(getInnerHeight(firstHeaderCell), getInnerHeight(fifthHeaderCell), 0.5, 'Header cells have same height');
1139+
assert.roughEqual(getInnerHeight(fifthHeaderCell), getInnerHeight(dateTableCell), 0.5, 'Header cell and table cell have same height');
11401140
});
11411141

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

0 commit comments

Comments
 (0)