Skip to content

Docker doesn't support i18n testing, problem with outdated base image #8362

@MirKml

Description

@MirKml

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

FROM testcafe/testcafe:3.7.1
USER root
RUN apk --no-cache add chromium-lang

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 before apk 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

Metadata

Metadata

Assignees

Labels

STATE: Issue acceptedAn issue has been reproduced.TYPE: bugThe described behavior is considered as wrong (bug).

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions