Skip to content

How to disable interaction testing for published storybook? #17949

Answered by yannbf
lifan0127 asked this question in Help
Discussion options

You must be logged in to vote

Hey there! There is currently no way to disable the play function to automatically run when visiting it. You can only disable the play function from automatically running in docs mode.

Regarding the interactions panel, you can actually make a story select an addon panel when visiting it by using the options parameter. You can select the interactions panel like so:

export const WithInteractions = {
  parameters: {
    options: { selectedPanel: 'storybook/interactions/panel' },
  }
}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@yannbf
Comment options

Answer selected by yannbf
@Kristian110
Comment options

@manandkumaar
Comment options

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