```md import { Meta, Story } from '@storybook/addon-docs'; import { screen, userEvent } from '@storybook/testing-library'; import MyComponent from './MyComponent.svelte'; { // Other steps // Waits for the component to be rendered before querying the element await screen.findByRole('button', { name: / button label/i })); }} render={(args) => ({ Component: MyComponent, props: args, })} /> ```