-
Notifications
You must be signed in to change notification settings - Fork 675
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
Docker doesn't support i18n testing, problem with outdated base image #8362
Comments
Hello, Thank you for reaching out to us. The last TestCafe docker image was built with chromium 131.0.6778.108-r0 from alpine packages. You can update your installation as follows to install a compatible chromium-lang version:
This way, you should be able to avoid compatibility issues between chromium and chromium-lang. With this approach, you will not need to update complete distro. Please let us know if this workaround helps. Regarding
We will add this task to our internal backlog. |
Thanks. I will try later this week and let you know. Install particular versions is good solution for effective upgrade. As I read on https://wiki.alpinelinux.org/wiki/Alpine_Package_Keeper - package version "pinning" can have some problems - some old versions can be deleted - for community packages, edge branch .. |
Hm, seems that installing old package doesn't work, log from docker build @Bayheck
I see that old version is available in 3.20 alpine branch https://dl-cdn.alpinelinux.org/v3.20/community/x86_64/chromium-lang-131.0.6778.108-r0.apk but how long? It seems that upgrades come in to 3.20 regularly. After a while chromium-lang will be upgraded in 3.20 branch also. |
We appreciate you taking the time to share information about this issue. We reproduced the bug and added this ticket to our internal task queue. We'll update this thread once we have news. |
What is your Scenario?
When I want to test pages in another language (Czech particularly) then English in Docker on CI, it doesn't work.
I discovered that it's necessary to install chromium-lang package
This works for some weeks. But suddenly chromium doesn't start at all.
The reason was old base testcafe image. It contained old base libs for chromium. It was necessary to call always
apk upgrade
beforeapk add
.But it takes long time - it updates whole distro. It's also risky at all. It can upgrade e.g. node, which isn't compatible with testcafe in base image.
So can you add chromium-lang into your base image? What is your recommendation for running current updated chrome in docker with your base image? Can you make your base image up to date with latest browser releases?
What is the Current behavior?
Extending base docker image is necessary, but has drawbacks - updates complete distro, takes time and can break testcafe itself.
What is the Expected behavior?
Add chromium-lang into base image, this is mandatory. Tests multi-language webs should be possible without extending base image.
Regularly release new testcafe image when new browser is released or every month or two?
What is the public URL of the test page? (attach your complete example)
doesn't important
What is your TestCafe test code?
doesn't important
Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
In main description
TestCafe version
3.7.1
Node.js version
22.11.0
Command-line arguments
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response
The text was updated successfully, but these errors were encountered: