Skip to content

Commit 0bea190

Browse files
author
Alyar
committed
Fix QUnit tests
1 parent 2ea1f17 commit 0bea190

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/devextreme/testing/tests/DevExpress.ui.widgets.dataGrid/adaptiveColumns.tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1733,7 +1733,7 @@ QUnit.module('AdaptiveColumns', {
17331733
this.clock.tick(10);
17341734

17351735
// assert
1736-
assert.ok(this.rowsView._getRowElements.calledTwice);
1736+
assert.ok(this.rowsView._getRowElements.callCount, 4);
17371737
});
17381738

17391739
QUnit.test('Form has 2 columns in material theme', function(assert) {
@@ -4573,7 +4573,7 @@ QUnit.module('Keyboard navigation', {
45734573
this.getActiveInputElement().trigger(e);
45744574
this.clock.tick(10);
45754575

4576-
const $cell = this.$dataGrid.find('td:not([class])').eq(1);
4576+
const $cell = this.getRowElement(2).children().eq(0);
45774577
eventsEngine.triggerHandler($cell, 'focus');
45784578
this.clock.tick(10);
45794579

0 commit comments

Comments
 (0)