Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run test:e2e doesn't work #893

Closed
SeifESlimene opened this issue Dec 16, 2024 · 2 comments
Closed

npm run test:e2e doesn't work #893

SeifESlimene opened this issue Dec 16, 2024 · 2 comments
Labels
triage me I really want to be triaged. type: question Request for information or clarification. Not an issue.

Comments

@SeifESlimene
Copy link

SeifESlimene commented Dec 16, 2024

Hello,

Whenever I try to run the command npm run test:e2e it fails saying:

ENOENT: no such file or directory, open 'node:events'

image

I have chromedriver installed in my system.

> chromedriver -v
ChromeDriver 129.0.6668.89 (951c0b97221f8d4ba37cf97d324505c832251cf9-refs/branch-heads/6668@{#1503})

Any help here?
Thank you!

@SeifESlimene SeifESlimene added triage me I really want to be triaged. type: question Request for information or clarification. Not an issue. labels Dec 16, 2024
@usefulthink
Copy link
Contributor

That specific error seems to be caused by an older node version. I think the node: module-names were introduced in node 18. We should probably update the engine field in the package.js to make this clear.

Besides a current version of node, running the e2e-tests locally also requires a selenium server running in a docker-container (using the selenium/standalone-chrome image). I wasn't able to get that to work on an Apple Silicon MacBookPro though (iirc, I got it working using the selenium/standalone-chromium image instead).

But that being said, I don't think the one e2e test is really that worthwhile at the moment.

@SeifESlimene
Copy link
Author

Thank you! I'm closing this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

2 participants