Skip to content

storybook field is no longer working in the config file #1373

Description

@alexischarp

The problem

Hello,
I have recently updated @percy/cli from v1.24.2 to v1.27.1. I then saw the number of taken snapshot increase.
In my configuration, I have these lines :

storybook:
  include: ['Percy/.*']

It was working previously but now when running the percy config:validate command, it says :

[percy] Invalid config:
[percy] - storybook: unknown property

Environment

  • Node version: 18.15.0
  • @percy/cli version: 1.27.1
  • @percy/storybook version: 4.3.6

Debug logs

[percy] Found config file: .percy.yml
[percy] Invalid config:
[percy] - storybook: unknown property

Code to reproduce issue

My full config :

version: 2
snapshot:
  widths:
    - 375
    - 768
    - 1280
  minHeight: 1024
  enableJavascript: true
discovery:
  networkIdleTimeout: 100
storybook:
  include: ['Percy/.*']

Activity

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