-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Screenshots not higher then 963px when running in docker on node 20.5.0 #27829
Comments
@nagash77 Sorry to disturb, but is there any progress in fixing this issue? |
I've also tested using the node-20.6.1 image (https://hub.docker.com/layers/cypress/included/cypress-13.2.0-node-20.6.1-chrome-116.0.5845.187-1-ff-117.0-edge-116.0.1938.76-1/images/sha256-8275e12eb5301ec33188420be055a06a8f5e447120119f990822238f2caca2fc?context=explore) but this didn't fix the issue. |
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. |
I still have the same issue with Cypress 13.4.0 and Node 20.11. |
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. |
Unfortunatly this issue still exists on Cypress 13.15.0 with Node 20.17.0 (although the images are now 941 pixels in height). |
Current behavior
When using Cypress with the latest node version (20.5), the screenshots made in the docker-image when the test fails aren't higher than 963px.
I'll define in the cypress config a viewportHeight of 1080px (to reproduce fullHD screensize), but screenshots never get bigger than 963px. Using the older node version (18.15) gives screenshots of 1080px height.
Desired behavior
Screenshots should be the correct height of the viewport.
Test code to reproduce
Testable by using the docker-images cypress-13.0.0-node-18.15.0-chrome-106.0.5249.61-1-ff-99.0.1-edge-114.0.1823.51-1 vs cypress-13.0.0-node-20.5.0-chrome-114.0.5735.133-1-ff-114.0.2-edge-114.0.1823.51-1
I hope it works to upload both repo's, but otherwise here are the files in the repo's:
Cypress test repo
cypress.config.ts:
package.json:
test.cy.ts:
cypress.yml
Cypress Image builder repo
package.json
Dockerfile
Cypress test repo.zip
Cypress Version
13.0.0, 13.1.0, 13.2.0
Node version
20.5.0
Operating System
Windows 10
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: