Skip to content

Commit 030f251

Browse files
Scheduler — QUnit test flakiness for workspace group header cell height comparison (#33343)
Co-authored-by: Aleksei Semikozov <alwexy@gmail.com>
1 parent 24438ff commit 030f251

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

1095-
assert.equal(getInnerHeight(firstHeaderCell), getInnerHeight(fifthHeaderCell), 'Header cells have same height');
1096-
assert.equal(getInnerHeight(fifthHeaderCell), getInnerHeight(dateTableCell), 'Header cell and table cell have same height');
1095+
assert.roughEqual(getInnerHeight(firstHeaderCell), getInnerHeight(fifthHeaderCell), 0.5, 'Header cells have same height');
1096+
assert.roughEqual(getInnerHeight(fifthHeaderCell), getInnerHeight(dateTableCell), 0.5, 'Header cell and table cell have same height');
10971097
});
10981098

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

0 commit comments

Comments
 (0)