Skip to content

Commit

Permalink
feat(react): interaction tests story generator
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarini committed Jul 12, 2023
1 parent 77bb4b7 commit e68dfe7
Show file tree
Hide file tree
Showing 20 changed files with 844 additions and 242 deletions.
6 changes: 6 additions & 0 deletions docs/generated/packages/react/generators/component-story.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
"type": "boolean",
"default": false,
"x-priority": "internal"
},
"interactionTests": {
"type": "boolean",
"description": "Set up Storybook interaction tests.",
"default": true,
"x-priority": "important"
}
},
"required": ["project", "componentPath"],
Expand Down
13 changes: 10 additions & 3 deletions docs/generated/packages/react/generators/stories.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,19 @@
"generateCypressSpecs": {
"type": "boolean",
"description": "Automatically generate `*.spec.ts` files in the cypress e2e app generated by the cypress-configure generator.",
"x-prompt": "Do you want to generate Cypress specs as well?",
"x-priority": "important"
"x-deprecated": "Please use Storybook interaction tests instead."
},
"cypressProject": {
"type": "string",
"description": "The Cypress project to generate the stories under. This is inferred from `project` by default."
"description": "The Cypress project to generate the stories under. This is inferred from `project` by default.",
"x-deprecated": "Please use Storybook interaction tests instead."
},
"interactionTests": {
"type": "boolean",
"description": "Set up Storybook interaction tests.",
"x-prompt": "Do you want to set up Storybook interaction tests?",
"x-priority": "important",
"default": true
},
"js": {
"type": "boolean",
Expand Down
Loading

0 comments on commit e68dfe7

Please sign in to comment.