'Chromium upgrade break tests: ERR_CONNECTION_REFUSED

chromium was locked in 90.0.4430.212-1 version in my container, but this version is't available anymore. So i updated to the only version available 99.0.4844.74-1~deb11u1. But now puppeteer tests are all failing.

Error message:

net::ERR_CONNECTION_REFUSED at http://www.example.com/login

Test:

await page.goto(`${baseUrl}/login`, { waitUntil: 'load', timeout: 0 })

Nothing changed in the docker container, gitlab-ci or jest configuration. I only updated chromium. I suspect that now a need to allow access to vhost url to chromium or allow http connections.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source