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

Add and run Selenium test with Mocha #139

Open
elmisback opened this issue Sep 30, 2024 · 3 comments
Open

Add and run Selenium test with Mocha #139

elmisback opened this issue Sep 30, 2024 · 3 comments
Assignees

Comments

@elmisback
Copy link
Collaborator

Use example from https://github.com/mochajs/mocha-examples/blob/main/packages/selenium/test/selenium.spec.js and our extension test file at https://github.com/herbie-fp/odyssey/blob/main/src/test/suite/extension.test.ts (or another test file--we'll want to figure out how to run tests during CI!)

@NoxNovus
Copy link
Contributor

NoxNovus commented Oct 3, 2024

October 2 2024

  • Resolved bad exit code error (seems to have been transient and related to old build)
  • Tinkered with builds for tests, issues are still present
  • Working on setting up Selenium tests still, will continue to update as I make progress tonight

@elmisback
Copy link
Collaborator Author

What issues were you seeing? Webpack should be building the tests automatically if I remember Tuesday correctly

@NoxNovus
Copy link
Contributor

NoxNovus commented Oct 3, 2024

Does webpack build the tests? I thought I had to build them manually with the compile-tests (it's the same build error with the ECMAScript not recognizing export)

In any case, I just realized the error is not actually significant to the running of the tests, and it's not a blocker, but might be something to look into eventually

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

No branches or pull requests

2 participants