You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the email preview plug, the iframe that should show the html preview gets it's height set to 0, so I don't see the html version. If I change it in dev tools the email is there and rendering correctly.
The text was updated successfully, but these errors were encountered:
What changed?
----------------
This commit uses the `screen.availHeight` property as a fallback
to how we currently set the iframe's height. See [screen docs].
[Screen docs]: https://developer.mozilla.org/en-US/docs/Web/API/Screen
Why?
-------
As part of the Wallaby feature test I've needed to read an email,
but I could only get iframe element using
`Wallaby.Query.css("iframe", visible: false)` because the height
of the element is 0.
I've tried this in multiple versions of Chrome and chromedriver.
Also, I've only been able to experience this in headless Chrome
in macOS. I wasn't having this issue with Wallaby option
headless: false nor on a CI instance running Ubuntu.
Related to #350 and
#351
When I use the email preview plug, the iframe that should show the html preview gets it's height set to 0, so I don't see the html version. If I change it in dev tools the email is there and rendering correctly.
The text was updated successfully, but these errors were encountered: