oblador / loki

👁 Visual Regression Testing for Storybook

Home Page:https://loki.js.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blank stories result in "Timeout after 10000ms"

moltar opened this issue · comments

commented

I have perfectly valid stories which begin with a blank screen. E.g. a story for a "hidden" state, for example. Which users can control with the Storybook controls. Loki seems to fail on these consistently with:

 FAIL  chrome.app/chrome.laptop/Foo
       Foo Story
       Timeout after 10000ms

I get the same error, unfortunately I also can't find how to fix it

I have perfectly valid stories which begin with a blank screen. E.g. a story for a "hidden" state, for example. Which users can control with the Storybook controls. Loki seems to fail on these consistently with:

 FAIL  chrome.app/chrome.laptop/Foo
       Foo Story
       Timeout after 10000ms

Try to update loki till the latest version (0.34). I bumped into the same problem when updated SB till V7.
Previosly installed loki version was 0.31 now 0.34 and it works fine.

The same problem for me. Timeout error if I use "target": "chrome.app" but for "target": "chrome.docker" all works well.

` "loki": {

"configurations": {
  "chrome.desktop": {
    "target": "chrome.docker",
    "width": 1366,
    "height": 768,
    "deviceScaleFactor": 1,
    "mobile": false
  }
}

}`

image