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

Run before #10

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Run before #10

wants to merge 5 commits into from

Conversation

jonathanadler
Copy link
Contributor

@jonathanadler jonathanadler commented Jan 16, 2020

@jonathanadler
Copy link
Contributor Author

Need to add documentation

package.json Outdated Show resolved Hide resolved
src/storybook-snapper.tsx Outdated Show resolved Hide resolved
src/storybook-snapper.tsx Outdated Show resolved Hide resolved
<p>Story will appear to not be ready without the <pre style={{display: 'inline'}}>runBefore</pre> script</p>
</div>,
async ({ rootEl }) => {
const img = rootEl.querySelector('img') as HTMLImageElement;
Copy link
Contributor

Choose a reason for hiding this comment

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

any reason not to write a react code here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is code that eyes-storybook runs in the browser.
So i'm not sure it will be possible.
Also there's no way to debug this: applitools/eyes-storybook#30

@shlomitc
Copy link
Contributor

shlomitc commented Feb 2, 2020

I'm also missing some documentation if it's a public API

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.

2 participants