loki: chromeSelector fails
I’m trying to make screenshot more specific. However if chromeSelector differs from #root > * -
it doesn’t work
→ Failed with "Error: Unable to get position of selector "#root .SplitPane > *". Review the `chromeSelector` option and make sure your story doesn't crash." after 4 tries
"chromeSelector": "#root .SplitPane > *",
Could someone share an example of specifying it right to component? (to iframe in an ideal case)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (9 by maintainers)
Hey @vvscode
Have you tried what the error message says?
...make sure your story doesn't crash."What happens if you open
Cards: AppointmentCardin Storybook? Does it render something?Feel free to update the example repository with and example that fails I will take a look at it
When I use a selector available from within the
iframeThis seems to works as expected as described in the docs
.loki/reference
chrome_laptop_Components_Atoms_Select.png
chrome_laptop_Components_Atoms_Spinner.png
@vvscode seems the selector matches the Storybook left panel 🤔 Is this what you want to screenshot? 😕
Hey @vvscode, sorry for the delay. I tried on my Windows 10 machine and couldn’t make docker work.
I’ll try today on a different macOS laptop.