prevent Chrome losing focus during systests (#12293)
Our system tests randomly fail due to chrome not having focus, and so NVDA does not read the expected speech. Sometimes this is due to a Docker popup asking for feedback.
Changes:
- Log when the event postNvdaStartup fires
- sleep for 2s before launching chrome
Known issues with pull request:
- Docker popups may still block the build
- 2s of sleep might not be long enough (we have confidence that 10s is)
- Lint checking occasionally blocks builds due to a failed merge (likely due to a rare GitHub issue)