Open gregmunt opened 1 week ago
How exactly are you "loading the SVG file"? Looks like a fetch request is going out, which is expecting JSON to get returned and not other content. So it is failing for that reason.
Without seeing the way the load is occurring though makes it hard to know for sure. Which then makes it hard to help fix the issue.
The software I am testing loads an SVG file containing symbols, then uses the SVG
When I take a snapshot of the component, no SVG appears. (The snapshot is just a white rectangle.)
If I run playwright with --ui, then open the snapshot (via the panel with Action/Before/After tabs) in an external window, then open the Dev Console in that window, I see the following:
I don't know if this is specific to playwright-ct-web or if it applies to general playwright - so reporting here first.