WebPagetest Forums

Full Version: how to ensure that test continues until the page is done loading
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
[Image: Screen_Shot_2018_01_05_at_12_07_38.png]
Full test report: https://www.webpagetest.org/result/18010...f19fa774e/

When run with minimum test running time set to 10 seconds (as suggested in another thread on this forum) the results are as expected.
[Image: Screen_Shot_2018_01_05_at_12_05_50.png]
Full test report: https://www.webpagetest.org/result/18010...0e3527682/
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.
Reference URL's