Describe the bug
I want to snapshot an element from the page. When I run the script with the command “npx cypress open” and select the script which I want to run, the image of the element is whole, but when I run the script with the command “npm run cy: dashboard” (It’s the command which runs all the scripts on the dashboard), the image is cut.
To Reproduce
Steps to reproduce the behavior:
For the “npx cypress open” command:
Run npx cypress open
Click a spec file
See the image
For the “npm run cy:dashboard”:
Run npm run cy:dashboard
See the image
Actual result
For the “npx cypress open” command:
The image is whole.
For the “npm run cy:dashboard”:
The image is cut.
Expected result
The images from those two runs should be whole.
Describe the bug I want to snapshot an element from the page. When I run the script with the command “npx cypress open” and select the script which I want to run, the image of the element is whole, but when I run the script with the command “npm run cy: dashboard” (It’s the command which runs all the scripts on the dashboard), the image is cut.
To Reproduce
Steps to reproduce the behavior: For the “npx cypress open” command:
Actual result For the “npx cypress open” command:
Expected result The images from those two runs should be whole.
The whole image:
The cut image: