how to ensure that test continues until the page is done loading

The page I am testing is an SPA and relies heavily on Javascript for rendering. Is there a way to configure WPT to wait until all JS scripts are done executing? It seems that with the default settings WPT in IE11 ends the tests way too early.

Here is an example:
The URL under test is https://bakery-flow-spring-perf.app.fi/login

When run with the default settings the tests end at around 2 seconds while the JS evaluation is still going on.

Full test report: https://www.webpagetest.org/result/180105_AS_2d77ddc0fdd1dfc37b78582f19fa774e/

When run with minimum test running time set to 10 seconds (as suggested in another thread on this forum) the results are as expected.

Full test report: https://www.webpagetest.org/result/180105_WY_80fadcdb5d761a9486e593d0e3527682/

Unless there is a way to wait until CPU usage is less than x % for y seconds, you could ask the devs to trigger some “keep-alive” requests.