chromaui / addon-visual-tests

Visual Tests addon for Storybook
MIT License
28 stars 1 forks source link

Going from Docs/Autodocs page to a story, the addon logs an error in the console #248

Open ghengeveld opened 3 months ago

ghengeveld commented 3 months ago

From AP-4355

How is the user affected? And what is the expected behavior?

A user will see an error in the console when switching from a docs page to a story. Here is a video demonstrating the issue:

https://github.com/chromaui/addon-visual-tests/assets/22988955/82e6cce5-4cbc-4c9e-885a-74f9e95a53c1

How many and/or what class of users does this impact?

All users who have the console open when looking at Storybook.

Is there a workaround?

No.

What are the steps for reproducing the issue?

  1. Go to a docs page
  2. Open the console
  3. Navigate to a story with VTA open

Hat tip @yannbf for catching this