Skip to content

Storywright silently fails with Storybook 8 #65

Open

Description

@NotWoods

Storywright relies on the deprecated __STORYBOOK_CLIENT_API__?.raw() to get a list of stories. In Storybook 8 this already deprecated API was removed. Rather than throwing, Storywright just silently falls back to an empty array and makes the error hard to notice.

Activity

  1. chiItepin commented on Nov 24, 2024

    @chiItepin

    Hi Tiger Oakes (@NotWoods) have you found a way to run storywright with storybook 8?

  2. NotWoods commented on Dec 3, 2024

    @NotWoods
    Author

    I ended up getting rid of Storywright and just using Storybook Test Runner to generate screenshots in the same folders as Storywright.

  3. NotWoods commented on Dec 4, 2024

    @NotWoods
    Author

    Since I got asked by a couple folks last week, I wrote up our Storybook Test Runner configuration today: How to fix Storybook screenshot testing | Tiger Oakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions