This is my project https://codepen.io/cryptodescriptor/full/VwYKKqW (work in progress).
I am using https://github.com/cferdinandi/smooth-scroll to make scrolling to anchor links smoother. It seems to interact badly with the test bundle.
1. The navbar should always be at the top of the viewport.
The above test fails when running the product landing page test suite. But when I remove smoothscroll, it works.
Error:
window.scroll is not a function
It seems like SmoothScroll is overwriting the meaning of window.scroll and causing the error. Is there any way you could make this test pass?