it('should detect if an element is visible', () => {
let isDisplayedInViewport = $('#notDisplayed').isDisplayedInViewport();
console.log(isDisplayedInViewport);
isDisplayedInViewport = $('#notVisible').isDisplayedInViewport();
console.log(isDisplayedInViewport);
isDisplayedInViewport = $('#notExisting').isDisplayedInViewport();
console.log(isDisplayedInViewport);
isDisplayedInViewport = $('#notInViewport').isDisplayedInViewport();
console.log(isDisplayedInViewport);
isDisplayedInViewport = $('#zeroOpacity').isDisplayedInViewport();
console.log(isDisplayedInViewport);
});