-
Notifications
You must be signed in to change notification settings - Fork 383
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
test: add Chrome for Testing example #1270
Open
MikeMcC399
wants to merge
6
commits into
cypress-io:master
Choose a base branch
from
MikeMcC399:add/chrome-for-testing
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
MikeMcC399
force-pushed
the
add/chrome-for-testing
branch
from
December 29, 2024 17:41
f048452
to
3933a4d
Compare
@jennifer-shehane Is there a reason this is in draft? |
MikeMcC399
force-pushed
the
add/chrome-for-testing
branch
from
January 2, 2025 16:28
e67784d
to
b1856b2
Compare
This comment was marked as resolved.
This comment was marked as resolved.
mschile
approved these changes
Jan 8, 2025
CI has failed due to transient network errors, such as the inability to reach https://on.cypress.io/wait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
Google Chrome for Testing is not part of the factory build process and it is not yet documented how to include it in a custom-built Cypress Docker image. Cypress 13.17.0, released Dec 17, 2024, and above, support this browser.
The Google Chrome browser (not Google Chrome for Testing) is currently packaged into Cypress Docker
Linux/amd64
images in the repositoriescypress/browsers
andcypress/included
.Note that neither "Chrome" nor "Chrome for Testing" are currently available for the
Linux/arm64
platform.Benefits
Adding an example for Chrome for Testing, benefits Cypress Docker users who want to test against Chrome for Testing inside Docker. The Blog announcement for Chrome for Testing cites the lack of auto update and ability to install a specific version as the main advantages of Chrome for Testing.
@puppeteer/browsers, with its download option for Chrome for Testing, conveniently allows version selection:
131.0.6778.204
131
stable
beta
dev
canary
The flexible version selection is an advantage compared to the Cypress Docker factory process which allows only a full version specification to select a Chrome version. No selection using major version or channel alias is allowed in the Cypress Docker factory process.
Change
chrome-for-testing
to the examples directory.References
Google Chrome for Testing:
Installation using
Verification
Ubuntu
24.04.1
LTS, Node.js22.12.0
LTS, Docker Desktop4.37.1
Also verified in actions/workflows/example-tests.yml.