Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

webdriver hinders local development #637

Closed
skjalgepalg opened this issue Nov 3, 2021 · 2 comments
Closed

webdriver hinders local development #637

skjalgepalg opened this issue Nov 3, 2021 · 2 comments

Comments

@skjalgepalg
Copy link
Collaborator

Current postinstall script blocks running npm install for some developers.

Short term alternatives:

  • Global install webdriver-manager (dubious fix)
  • Remove postinstall script

Longer term:

  • Migrate away from protractor for local testing.
    • Use jest or similar framework
  • Setup remote tests using whichever framework is chosen in above task
  • While at it, look into running tests for React components also
@htor
Copy link
Contributor

htor commented Jun 28, 2022

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 :-)

@skjalgepalg
Copy link
Collaborator Author

Solved by moving to Playwright under #717

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants