-
Notifications
You must be signed in to change notification settings - Fork 3
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
base: master
Are you sure you want to change the base?
Run before #10
Conversation
Need to add documentation |
<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; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
I'm also missing some documentation if it's a public API |
Add support for
runBefore
: https://github.com/applitools/eyes-storybook#runBefore