De promotiewebsite die de reguliere site vervangt tijdens de Kick-In. https://join.harambee.utwente.nl
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
kick-in-promo-site/tests/unit/scrollBar.js

16 lines
729 B

QUnit.test('Testing scrollBar:true', function(assert) {
var id = '#fullpage';
var FP = initFullpageNew(id, {scrollBar: true});
assert.equal($('body').css('overflow'), 'visible', 'We expect body to have overflow:visible');
assert.equal($('html').css('overflow'), 'visible', 'We expect html to have overflow:visible');
assert.equal($('body')[0].style.height, 'initial', 'We expect body to have overflow:visible');
assert.equal($('html')[0].style.height, 'initial', 'We expect html to have overflow:visible');
assert.equal(FP.test.options.recordHistory, false, 'We expect recordHistory to be false');
assert.equal($(WRAPPER_SEL)[0].style.touchAction, '', 'We expect touchAction to be ""');
});