core-components
core-components copied to clipboard
webdriver hinders local development
trafficstars
Current postinstall script blocks running npm install for some developers.
Short term alternatives:
- Global install
webdriver-manager(dubious fix) - Remove
postinstallscript
Longer term:
- Migrate away from
protractorfor local testing.- Use
jestor similar framework
- Use
- Setup remote tests using whichever framework is chosen in above task
- While at it, look into running tests for React components also
Hi!
I think at the time it was decided to use protractor because jsdom (used by some other testing frameworks) did not support custom elements. https://static.nrk.no/core-components/latest/index.html#testing.
That might have changed, but I'm not sure :-)