-
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
Allow configuration of capture
option for screenshots taken during failure
#5920
Comments
runner
capture
option for screenshots taken during failure
Can I work on this ? |
@karthi07 Yes we would love an open PR - even one that is a work in progress is fine. Check out our contributing doc and ask us if you get stuck. |
Any news? |
Any idea about how bypass it? |
any workaround for this? @karthi07 @jennifer-shehane @svobom57 is it possible to overwrite that default settings inside the |
So I think there are two different ways that we could go about offering a configuration for this:
or
Routing this to e2e core |
does the following also belongs to this thread or may I open another one(?):
|
Current behavior:
When my test fails, the screenshot taken is always captured in the
runner
size as per the documentation: https://docs.cypress.io/api/cypress-api/screenshot-api.html#Arguments:I was curious, why that's the case? I think it'd be beneficial to be able to override this configuration even for the screenshot on failure:
Often times I find myself looking at a failure video where Cypress can't find an element and I'm only seeing a portion of the page which isn't really helpful.
Desired behavior:
When I configure Cypress to capture screenshots like so:
I expect Cypress to take screenshot of the Full Page on failure rather than always taking
runner
despite the configuration.Versions
Cypress
3.7.0
, MacOS:10.14.6
The text was updated successfully, but these errors were encountered: