I am trying to integrate percy to our Storybook which we recently upgraded to v7 following these steps outlined here
We ran into an issue with an error below:
[percy] Error: Protocol error (Runtime.callFunctionOn): Cannot find context with specified id
When looking at other issues regarding Storybook v7, some suggested:
enableJavaScript: true
After enabling this in our percy config the snapshots started to work, however, opening up the snapshots in our generated percy link we receive this error message in the snapshot itself.
The problem
Hello,
I am trying to integrate percy to our Storybook which we recently upgraded to v7 following these steps outlined here
We ran into an issue with an error below:
When looking at other issues regarding Storybook v7, some suggested:
enableJavaScript: true
After enabling this in our percy config the snapshots started to work, however, opening up the snapshots in our generated percy link we receive this error message in the snapshot itself.
Environment
v16.13.2
@percy/cli
version:1.25.0
npm
Details
We have our storybook running locally in localhost:6006 and are trying to use the command below:
percy storybook http://localhost:6006
We see that it starts and processes our snapshots but we see errors like
[percy] Error: Timed out waiting for network requests to idle.
I've also tried the
--debug
and--verbose
with no luckDebug logs
If you are reporting a bug, always include logs! Give the "Debugging SDKs" document a quick read for how to gather logs
Please do not trim or edit these logs, often times there are hints in the full logs that help debug what is going on.
Code to reproduce issue
N/A