-
Notifications
You must be signed in to change notification settings - Fork 23
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
Support for iFrames #129
Comments
Hey @benalavi! Wanted to chime in here with maybe good news! Could you give cc: @wwilsman |
@Robdel12 🎉 it works with the isolated test script, we now see the frame content! Will check our full app now and report back. Thank you! |
@Robdel12 Looks like it worked for all snapshots w/ frames in our full CI run! I think you guys can close this as far as our usage is concerned. Thanks again! |
Awesome! Super happy to hear that :D |
Hello!
We are attempting to upgrade to the latest percy agent in order to solve percy/react-percy#5 (comment) (we need to render React w/ styled components) which will work except that the percy-capybara gem doesn't seem to support capturing the content of iFrames. Pretty sure we're running into the same issue as #67 (comment) and we can in fact render the iFrame snapshot from
within_frame
, but then we can't see both the frames together (and we'd have to change a lot of test code that is currently working, albeit with a very old patched version).I wanted to make sure it was the same issue so I made a (somewhat) minimal test case, which I've added here in case it is useful:
In the test case above what we would like to see in the checkpoint is the same content we see in the test at that point ("Frame Submitted"), what we end up seeing is:
percy-agent version: 0.20.12
percy-capybara version: 4.0.2
Any guidance here, even if it's "we're not going to support iFrames" (I believe we may be the only people in the world still using them 😅 ) would be helpful so we can decide what to do. Thanks!
The text was updated successfully, but these errors were encountered: