Replies: 1 comment 3 replies
-
Hi @hautest, A much better solution is to use the Here's an example showing both approaches: https://codesandbox.io/s/tabs-testing-click-zq1l3p?file=/src/Tabs.test.js |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The tabs I made work well in the browser.
and I try to testing tabs
"should render trigger text" is success.
but "should render content value" is failed
As I checked the Content of the test result
even though i clicked trigger value ("firstTrigger"), "data-state" of content is "inactive" (I expected data-state="active" .... )
Beta Was this translation helpful? Give feedback.
All reactions