-
Notifications
You must be signed in to change notification settings - Fork 48
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
iFrame missing css #1189
Comments
Hey @esetnik 👋 I checked the build and could see the style sheets are being discovered as you can verify it on your end by checking |
@itsjwala but those paths are not the correct paths to the css files in the iframe. It looks like percy is rewriting the paths for iframed content for some reason to use a relative path on the parent page. This is new behavior as of v1.19.2 (the iframed snapshots are working correctly in real tests as well as in percy v1.18.0 and earlier). |
|
I'm not understanding what you mean by this. Percy is using the domain https://frontend.local.prodigyems.com to resolve those assets but they are actually hosted under https://local.prodigyems.com. See my screenshot above. The url is |
Hey @esetnik
|
The problem
After upgrading to v1.19.2 the snapshots of iframed content does not render any CSS.
See https://percy.io/283b5e1b/ProdigyEMS/builds/25284757/changed/1410160725?browser=chrome&browser_ids=33%2C34&subcategories=unreviewed%2Cchanges_requested&viewLayout=side-by-side&viewMode=new&width=1280&widths=375%2C1280
Environment
@percy/cli
version: v1.19.2Details
I believe it could be related to #1165
Debug logs
If you are reporting a bug, always include logs! Give the "Debugging SDKs"
document a quick read for how to gather logs
Please do not trim or edit these logs, often times there are hints in the full
logs that help debug what is going on.
Code to reproduce issue
Given the nature of testing/environment bugs, it’s best to try and isolate the
issue in a reproducible repo. This will make it much easier for us to diagnose
and fix.
The text was updated successfully, but these errors were encountered: