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

Running Karma tests in CI #1871

Open
MaxFrank13 opened this issue Dec 13, 2022 · 0 comments
Open

Running Karma tests in CI #1871

MaxFrank13 opened this issue Dec 13, 2022 · 0 comments
Labels
help wanted Ready to be picked up by anyone in the community

Comments

@MaxFrank13
Copy link
Member

After the Node 16 upgrade our non-React JS tests stopped working during CI. After some research, we were made aware that this may be an issue with Firefox not being captured correctly running in a GitHub/GitHub Actions + Karma + Node 16 environment (see karma-runner/karma-firefox-launcher#245).

When we discovered the issue we attempted to move away from Firefox and use a headless version of Chromium instead. We were able to get this working in CI, but ran into issues locally when installing a new dependency (puppeteer) used to facilitate the use of Chromium with Karma.

Currently, we have a method of running the tests locally that we do manually during development. Ideally, we'd like to get these tests working in CI again.

Potential Options:

  • We might be able to get Chromium working using puppeteer-core
  • Other options like Chrome/PhantomJS/etc as a headless browser
@hurtstotouchfire hurtstotouchfire moved this to In Progress in Aperture-Maintained Dec 14, 2022
@deborahgu deborahgu moved this from In Progress to Backlog in Aperture-Maintained Jul 9, 2024
@deborahgu deborahgu added the help wanted Ready to be picked up by anyone in the community label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Ready to be picked up by anyone in the community
Projects
Status: Backlog
Development

No branches or pull requests

2 participants