Skip to content

Commit db38784

Browse files
r-farkhutdinovRuslan Farkhutdinov
andauthored
Lookup, Popover: Remove skipped tests (#32303)
Co-authored-by: Ruslan Farkhutdinov <[email protected]>
1 parent d9086ba commit db38784

File tree

2 files changed

+0
-43
lines changed

2 files changed

+0
-43
lines changed

packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/lookup.tests.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4394,18 +4394,6 @@ QUnit.module('onContentReady', {
43944394
assert.strictEqual(contentReadyHandler.callCount, 3, 'onContentReady is not fired after popup with search results showing');
43954395
});
43964396

4397-
QUnit.skip('onContentReady should be fired after input rendering when deferRendering=true', function(assert) {
4398-
assert.expect(2);
4399-
4400-
$('#lookup').dxLookup({
4401-
onContentReady: (e) => {
4402-
assert.ok(true, 'contentReady is fired after input rendering');
4403-
assert.strictEqual(e.component._$field.get(0), $('.dx-lookup-field').get(0), 'input is rendered');
4404-
},
4405-
deferRendering: true
4406-
});
4407-
});
4408-
44094397
QUnit.test('onContentReady should be fired after list rendering when deferRendering=true', function(assert) {
44104398
assert.expect(2);
44114399

packages/devextreme/testing/tests/DevExpress.ui.widgets/popover.tests.js

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -425,37 +425,6 @@ QUnit.module('arrow positioning', () => {
425425
}
426426
});
427427

428-
QUnit.skip('arrow position is calculated relative to the target when popup-content is hidden', function(assert) {
429-
fixtures.simple.create();
430-
try {
431-
const $target = $('#where').css({
432-
width: 25,
433-
height: 25
434-
});
435-
436-
const $popover = $('#what');
437-
const popover = new Popover($popover, {
438-
target: $target,
439-
animation: null,
440-
visible: false
441-
});
442-
443-
$popover.hide();
444-
$popover.find(`.${OVERLAY_CONTENT_CLASS}`).hide();
445-
popover.option('visible', true);
446-
$popover.show();
447-
448-
const $arrow = wrapper().find('.' + POPOVER_ARROW_CLASS);
449-
const arrowOffsetTop = $target.offset().top + getHeight($target);
450-
const arrowOffsetLeft = $target.offset().left + getWidth($target) / 2 - getWidth($arrow) / 2;
451-
452-
assert.equal($arrow.offset().top, arrowOffsetTop, 'popover arrow positioned at the bottom of the target vertically');
453-
assert.ok(Math.abs($arrow.offset().left - arrowOffsetLeft) <= 0.5, 'popover arrow positioned at the center of the target horizontally');
454-
} finally {
455-
fixtures.collisionTopLeft.drop();
456-
}
457-
});
458-
459428
QUnit.test('arrow bottom left position', function(assert) {
460429
fixtures.collisionTopLeft.create();
461430
try {

0 commit comments

Comments
 (0)