Fail
Unable to find an element with the text: 這是 Card 的內容區域. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.View in Storybook
1168x109
Linux Linux Ubuntu 20.04.4
f716ab on master
Caught exception in
play functionThis story threw an error after it finished rendering which means interactions may not have been executed fully.
TestingLibraryElementError: Unable to find an element with the text: 這是 Card 的內容區域. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
at Object.getElementError (https://69feffa809ce808d7e8d5d68-oludsqbhyj.capture-loopback.chromatic.com/assets/iframe-Djpkwbe_.js:742:284)
at https://69feffa809ce808d7e8d5d68-oludsqbhyj.capture-loopback.chromatic.com/assets/iframe-Djpkwbe_.js:137:112
at https://69feffa809ce808d7e8d5d68-oludsqbhyj.capture-loopback.chromatic.com/assets/iframe-Djpkwbe_.js:129:4041
at https://69feffa809ce808d7e8d5d68-oludsqbhyj.capture-loopback.chromatic.com/assets/iframe-Djpkwbe_.js:745:377
at Ck.invoke (https://69feffa809ce808d7e8d5d68-oludsqbhyj.capture-loopback.chromatic.com/assets/iframe-Djpkwbe_.js:713:9407)
at Ck.track (https://69feffa809ce808d7e8d5d68-oludsqbhyj.capture-loopback.chromatic.com/assets/iframe-Djpkwbe_.js:713:6640)
at Object.getByText (https://69feffa809ce808d7e8d5d68-oludsqbhyj.capture-loopback.chromatic.com/assets/iframe-Djpkwbe_.js:713:5960)
at play (https://69feffa809ce808d7e8d5d68-oludsqbhyj.capture-loopback.chromatic.com/assets/CollapsibleCard.stories-DjuQxDcf.js:1:2755)
at async Hz.runPhase (https://69feffa809ce808d7e8d5d68-oludsqbhyj.capture-loopback.chromatic.com/assets/iframe-Djpkwbe_.js:911:607)
at async Hz.render (https://69feffa809ce808d7e8d5d68-oludsqbhyj.capture-loopback.chromatic.com/assets/iframe-Djpkwbe_.js:911:3467)