say I have following code
export const Basic:StoryObj = {
play:async({canvasElement}) => {
const canvas = within(canvasElement)
const InputElem = canvas.getAllByRole('textbox')[0]
await userEvent.type(InputElem,"This is NFX Basic input with no-props")
const element = canvas.getByDisplayValue("This is NFX Basic input with no-props")
expect(element).toBeInTheDocument()
},
}
I want to make use of actions panel is the motive, thank you for any help. sorry for me being stupid, since docs say that actions - only if one of the args is a function which is triggered by an event