Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4394,18 +4394,6 @@ QUnit.module('onContentReady', {
assert.strictEqual(contentReadyHandler.callCount, 3, 'onContentReady is not fired after popup with search results showing');
});

QUnit.skip('onContentReady should be fired after input rendering when deferRendering=true', function(assert) {
assert.expect(2);

$('#lookup').dxLookup({
onContentReady: (e) => {
assert.ok(true, 'contentReady is fired after input rendering');
assert.strictEqual(e.component._$field.get(0), $('.dx-lookup-field').get(0), 'input is rendered');
},
deferRendering: true
});
});

QUnit.test('onContentReady should be fired after list rendering when deferRendering=true', function(assert) {
assert.expect(2);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,37 +425,6 @@ QUnit.module('arrow positioning', () => {
}
});

QUnit.skip('arrow position is calculated relative to the target when popup-content is hidden', function(assert) {
fixtures.simple.create();
try {
const $target = $('#where').css({
width: 25,
height: 25
});

const $popover = $('#what');
const popover = new Popover($popover, {
target: $target,
animation: null,
visible: false
});

$popover.hide();
$popover.find(`.${OVERLAY_CONTENT_CLASS}`).hide();
popover.option('visible', true);
$popover.show();

const $arrow = wrapper().find('.' + POPOVER_ARROW_CLASS);
const arrowOffsetTop = $target.offset().top + getHeight($target);
const arrowOffsetLeft = $target.offset().left + getWidth($target) / 2 - getWidth($arrow) / 2;

assert.equal($arrow.offset().top, arrowOffsetTop, 'popover arrow positioned at the bottom of the target vertically');
assert.ok(Math.abs($arrow.offset().left - arrowOffsetLeft) <= 0.5, 'popover arrow positioned at the center of the target horizontally');
} finally {
fixtures.collisionTopLeft.drop();
}
});

QUnit.test('arrow bottom left position', function(assert) {
fixtures.collisionTopLeft.create();
try {
Expand Down
Loading