Skip to content
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

fix iframe placeholder html #5296

Merged
merged 6 commits into from
Oct 29, 2019
Merged

fix iframe placeholder html #5296

merged 6 commits into from
Oct 29, 2019

Conversation

kuceb
Copy link
Contributor

@kuceb kuceb commented Oct 4, 2019

User facing changelog

Bug Fix:

  • fixed DOM snapshots failing to render iframe placeholder content

Additional details

  • dom snapshot iframes were not correctly rendering our placeholder content, so you would see blank iframe.
  • switched to using base64 encoding, which seems to fix the encoding problem
  • we can't directly query the iframe contents in tests, so this would be a good candidate for visual regression. However, for now I have added test for correct base64 encoding

How has the user experience changed?

  • when vieing dom snapshot:
    before:
    image
    after:
    19-10-04_15:12::24

PR Tasks

@kuceb
Copy link
Contributor Author

kuceb commented Oct 4, 2019

strange gyp failure during build, reran ci

@cypress
Copy link

cypress bot commented Oct 4, 2019



Test summary

3371 0 47 0


Run details

Project cypress
Status Passed
Commit 19c6e76
Started Oct 4, 2019 8:31 PM
Ended Oct 4, 2019 8:36 PM
Duration 05:13 💡
OS Linux Debian - 9.8
Browser Multiple

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@kuceb kuceb changed the title fix iframe placeholder html, add test fix iframe placeholder html Oct 4, 2019
Copy link
Contributor

@chrisbreiding chrisbreiding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manually tested this and it looks good 👍

Copy link
Member

@jennifer-shehane jennifer-shehane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jennifer-shehane
Copy link
Member

Actually, this is also failing in another PR - is this broken in develop? #5272

@kuceb kuceb merged commit 3182f62 into develop Oct 29, 2019
@chrisbreiding chrisbreiding deleted the iframe-placeholder-fix branch April 5, 2022 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dom snapshot iframe placeholder HTML not rendering
3 participants