Testing · Senior · Question 64 of 75
What do Storybook interaction tests add?
- ✓Correct answer: A
playfunction drives the story (clicks, typing) and asserts results; stories become component tests running in a browser - 2They render stories to PNG
- 3They generate stories from tests
Explanation
Stories document states and are reused as test cases, so the effort isn't duplicated.