Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of undefined (reading 'isStoryMissing') #818

Closed
pietrofxq opened this issue Sep 15, 2023 · 1 comment
Closed

Cannot read properties of undefined (reading 'isStoryMissing') #818

pietrofxq opened this issue Sep 15, 2023 · 1 comment
Labels
bug Classification: Something isn't working needs triage Tracking: Issue needs confirmation

Comments

@pietrofxq
Copy link

Bug report

I have two storybook tests that are failing in chromatic. The stack trace is related to chromatic playwright code:

page.evaluate: TypeError: Cannot read properties of undefined (reading 'isStoryMissing')
    at checkStoryMissing (eval at evaluate (:192:30), <anonymous>:1:64)
    at UtilityScript.evaluate (<anonymous>:194:17)
    at UtilityScript.<anonymous> (<anonymous>:1:44)
    at ChromeRenderer.renderSpec (/opt/capture/src/chromatic-lib/capture/playwright-renderer/playwrightRenderer.js:734:25)
    at ChromeRenderer.renderSnapshot (/opt/capture/src/chromatic-lib/capture/playwright-renderer/playwrightRenderer.js:441:21)
    at ChromeRenderer.captureSpecs (/opt/capture/src/chromatic-lib/capture/playwright-renderer/playwrightRenderer.js:313:9)
    at ChromeRenderer.executeWithCallback (/opt/capture/src/chromatic-lib/capture/playwright-renderer/playwrightRenderer.js:101:14)
    at Capture.execute (/opt/capture/src/chromatic-lib/capture/capture.js:282:5)
    at FargateWorker.processJob (/opt/capture/src/worker.ts:258:7)
    at FargateWorker.handleJob (/opt/capture/src/worker.ts:137:7)
    at FargateWorker.run (/opt/capture/src/worker.ts:50:9)
    at start (/opt/capture/src/index.ts:33:5)

Visiting the storybook in chromatic the error does not show up. The component is rendered correctly for a few seconds and then a 500 page shows up:

image
@pietrofxq pietrofxq added bug Classification: Something isn't working needs triage Tracking: Issue needs confirmation labels Sep 15, 2023
@winkerVSbecks
Copy link
Member

@pietrofxq if this is still an issue, please reach out via support and we'll be able to help you better: https://www.chromatic.com/docs/support/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Classification: Something isn't working needs triage Tracking: Issue needs confirmation
Projects
None yet
Development

No branches or pull requests

2 participants