@@ -192,6 +192,10 @@ export const metadataViewV2WithBulkItemActionMenuShowsEllipsis: Story = {
192192 const firstRow = canvas . getByRole ( 'row' , { name : / C h i l d 2 / i } ) ;
193193 const checkbox = within ( firstRow ) . getByRole ( 'checkbox' ) ;
194194 userEvent . click ( checkbox ) ;
195+
196+ await waitFor ( ( ) => {
197+ expect ( canvas . getByRole ( 'button' , { name : 'Bulk actions' } ) ) . toBeInTheDocument ( ) ;
198+ } ) ;
195199 } ,
196200} ;
197201
@@ -207,10 +211,10 @@ export const metadataViewV2WithBulkItemActionMenuShowsItemActionMenu: Story = {
207211 userEvent . click ( checkbox ) ;
208212
209213 await waitFor ( ( ) => {
210- expect ( canvas . getByRole ( 'button' , { name : 'Show actions for selected items ' } ) ) . toBeInTheDocument ( ) ;
214+ expect ( canvas . getByRole ( 'button' , { name : 'Bulk actions' } ) ) . toBeInTheDocument ( ) ;
211215 } ) ;
212216
213- const ellipsisButton = canvas . getByRole ( 'button' , { name : 'Show actions for selected items ' } ) ;
217+ const ellipsisButton = canvas . getByRole ( 'button' , { name : 'Bulk actions' } ) ;
214218
215219 userEvent . click ( ellipsisButton ) ;
216220
@@ -232,10 +236,10 @@ export const metadataViewV2WithBulkItemActionMenuCallsOnClick: Story = {
232236 userEvent . click ( checkbox ) ;
233237
234238 await waitFor ( ( ) => {
235- expect ( canvas . getByRole ( 'button' , { name : 'Show actions for selected items ' } ) ) . toBeInTheDocument ( ) ;
239+ expect ( canvas . getByRole ( 'button' , { name : 'Bulk actions' } ) ) . toBeInTheDocument ( ) ;
236240 } ) ;
237241
238- const ellipsisButton = canvas . getByRole ( 'button' , { name : 'Show actions for selected items ' } ) ;
242+ const ellipsisButton = canvas . getByRole ( 'button' , { name : 'Bulk actions' } ) ;
239243
240244 userEvent . click ( ellipsisButton ) ;
241245
0 commit comments