QUnit.config.scrolltop

version added: 1.14.0

In the HTML Reporter, ensure the browser is scrolled to the top of the page when the tests are done.

Description

type boolean
default true

By default, QUnit scrolls the browser to the top of the page when tests are done. This reverses any programmatic scrolling performed by the application or its tests.

Set this option to false to disable this behaviour, and thus leave the page in its final scroll position.