cypress icon indicating copy to clipboard operation
cypress copied to clipboard

Test against Chromium on `arm64`

Open MikeMcC399 opened this issue 1 year ago • 1 comments

What would you like?

Have Chromium arm64 tested in Cypress CI.

Why is this needed?

Cypress documentation - Operating System lists the following operating systems supported on arm64 architecture:

  • macOS
  • Ubuntu
  • Fedora
  • Debian

Launching Browsers states

Cypress currently supports Firefox and Chrome-family browsers (including Edge and Electron).

  • There seems to be currently no check that Cypress works with Chromium on arm64. This led to uncertainty troubleshooting Cypress Docker issue https://github.com/cypress-io/cypress-docker-images/issues/1262, which turned out to be a Chromium issue, unrelated to the Docker images. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088974 (edit: this bug is now resolved).

Other

  • Chromium for Ubuntu is available for i386 amd64 armhf arm64 all and can be installed with sudo apt-get install chromium-browser

  • Chromium for Debian is listed under Debian WebBrowsers. It is available for Debian 12 (bookworm), and other versions, for amd64 arm64 armhf i386 ppc64el and can be installed from the Debian repository with sudo apt-get install chromium

MikeMcC399 avatar Dec 05 '24 16:12 MikeMcC399

A related test has been implemented in the Cypress Docker repo.

The workflow https://github.com/cypress-io/cypress-docker-images/actions/workflows/example-tests.yml tests the example

https://github.com/cypress-io/cypress-docker-images/tree/master/examples/chromium using the GitHub Runner ubuntu-24.04-arm

There is however no automated mechanism in the cypress-docker-images to update the Cypress examples always to the latest version, so this test is only complementary to any tests that Cypress might do on the develop branch of the cypress repo. It is not a replacement.

MikeMcC399 avatar Jan 29 '25 10:01 MikeMcC399

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

cypress-app-bot avatar Sep 01 '25 02:09 cypress-app-bot

Dropping this suggestion.

  • Chromium, as a test environment, seems to have dropped in significance since the introduction of Chrome for Testing, which allows selection of past versions, for instance, through @puppeteer/browsers
  • The help information for installing Chromium directly is outdated and difficult to follow.
  • The workflow https://github.com/cypress-io/cypress-docker-images/blob/master/.github/workflows/example-tests.yml continues to test against Chromium using the GitHub Actions runner ubuntu-24.04-arm image, providing a backstop for any related issues in the latest released version of Cypress

MikeMcC399 avatar Sep 01 '25 07:09 MikeMcC399