-
Notifications
You must be signed in to change notification settings - Fork 0
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
Open accordion #165
Comments
Hi @andreeeabb, Quoting your previous comment on #164:
Yes indeed! Because the page contains a lot of elements, story.to.design does not know what element to interact with. TLDRI realize I've provided a lot of information you may not want 😄 Here's a summary! You can use the following configuration:
Why your current configuration does not workI see your configuration here: The problem is the following: there are many buttons matching that selector. We can see that by going to the developer tools while on your Storybook component: Then, in the Since there are 12, story.to.design cannot choose the correct one here, you need to help it a bit How to find the proper selector valueHere's a quick howto for the In the browser (I'm using Chrome here), right click on the element you want to interact with, and choose You should then see something like this: (sometimes the browser will not select exactly the element you are interested in. It is best to try and select element that can be interacted with, like You can then right click in the tree and choose And finally, you just need to paste that value into the
Importing your component should now expand the accordion (I imagine that was the one): |
Describe the problem
Bug report identity: Please do not edit
Task path: WRqbNjeh3JQJI2q3UWHJ/2y0Lg6UBhOeKch64Kys9/lp6xq8tz85g0
The text was updated successfully, but these errors were encountered: