It takes roughly 400-600ms for the BrowserWindow to load the url before running the test.
With this change, we keep a loaded window in memory for the next test, saving us the setup time.
In our case we have ~250 test suites, this saves us 2 minutes in CI.
The preloaded BrowserWindow is destroyed on cleanup.
It takes roughly 400-600ms for the
BrowserWindow
to load the url before running the test. With this change, we keep a loaded window in memory for the next test, saving us the setup time.In our case we have ~250 test suites, this saves us 2 minutes in CI.
The preloaded
BrowserWindow
is destroyed on cleanup.