Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Keep a loaded BrowserWindow in memory #66

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mitchheddles
Copy link

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.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jun 4, 2020
@DJTB
Copy link

DJTB commented Jun 10, 2020

This would be a huge help!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants