inveniosoftware / pytest-invenio

Pytest fixtures for Invenio.
https://pytest-invenio.readthedocs.io
Other
3 stars 22 forks source link

ci: selenium fails to start chrome #64

Closed avivace closed 2 years ago

avivace commented 3 years ago

Looks like with the new GitHub Actions CI, Selenium is unable to start chrome to run tests:

[...]
 E       selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
E         (unknown error: DevToolsActivePort file doesn't exist)
E         (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

This is probably due to Chrome being unable to start without a desktop (xvfb was used before, but it's not in the new CI). The headless could help too

Related SO threads: