Closed eskimoblood closed 1 year ago
@eskimoblood can you provide the snapshot/build ID which was created from the above run?
Please check this further @samarsault.
I had rewritten the test and now if I try to use scope
I can't reproduce the issue anymore. I will give some more tries and close the ticket if I can't reproduce til tomorrow.
Closing this issue.
Please reopen and share reproducible steps or reach out to our Support if you may need any assistance.
The problem
I try to get
scope
option work but I only get the whole screen as a snapshot not the part I pass as selector toscope
.Environment
@percy/cli
version: "1.21.0"Details
The following code first checks that the element is in the DOM and then use the same selector to set the scope for percy:
When I download the html of the snapshot from percy and open it in a browser I can find the element by
document.querySelector('[data-cy=signalBarChartWidget]')
Debug logs