Running tests locally on ChromeHeadless/Mac only runs half of them
See original GitHub issueWhen I’m running npm test
locally on my Mac machine, it only runs half of the tests and acts as if that’s OK:
Chrome Headless 105.0.5195.125 (Mac OS 10.15.7): Executed 527 of 1059 (skipped 8) SUCCESS (3.908 secs / 2.019 secs)
TOTAL: 527 SUCCESS
What’s going on? There are no errors, no excessive skips, it just doesn’t execute half the tests for some reason. When I run other browsers like npm test -- --browsers Safari
it runs all of them, so it must be specific to ChromeHeadless
. I’m not sure how long it’s been this way but it’s super confusing.
@Falke-Design @jonkoops any idea what’s going on? Does it act like this for you too?
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Running tests locally on ChromeHeadless/Mac only runs half of them
When I'm running npm test locally on my Mac machine, it only runs half of the tests and acts as if that's OK:...
Read more >How do you run Chrome while selenium headless script is ...
I have a python selenium script that uses chromedriver in headless mode to test links on a website. I'm running this script on...
Read more >"run" is much slower than "open" · Issue #2912 · cypress-io ...
This seems like a bug - the headless version of the tests run 4x - 5x slower than the headed ones. ( cypress...
Read more >Selenium Headless Browser Testing - Tools QA
How to run Selenium tests in headless mode? Running Selenium headless browser tests using the HTMLUnitDriver. Running Selenium headless browser ...
Read more >7 Github Actions Tricks I Wish I Knew Before I Started
Here are 7 tricks with github actions that changed my life (or at least my CI/CD pipeline). These tricks helped me create a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Falke-Design looks like it’s triggered by the
LineUtilSpec
tests, they’re unstable — probably due to some race condition betweenbefore/afterEach
and the custom remove/map init? There’s also a lot of repetition. This needs to be refactored…OK found a quick solution for now, committing…