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

Fix tests failing due to PhantomJS not starting #444

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

richard67
Copy link
Contributor

This pull request (PR) fixes the tests not working because the PhantomJS browser could not be started.

For details on the fix see https://stackoverflow.com/questions/73004195/phantomjs-wont-install-autoconfiguration-error .

Testing instructions

Fetch the current development branch of this repo into a git clone on Ubuntu 22.04 or newer or similar current Linux distributions.

Run npm install.

Run npm run test.

Result:

...
04 01 2025 12:48:57.618:ERROR [launcher]: PhantomJS failed 2 times (cannot start). Giving up.

Finished in 0 secs / 0 secs @ 12:48:57 GMT+0100 (Mitteleuropäische Normalzeit)

Apply the change from this PR.

Run npm run test.

Result:

...
Finished in 0.048 secs / 0.008 secs @ 12:54:49 GMT+0100 (Mitteleuropäische Normalzeit)

SUMMARY:
✔ 21 tests completed

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

Successfully merging this pull request may close these issues.

1 participant