From 1f31c37b3e0e58adf9c1b2a684f29bf736e77b9a Mon Sep 17 00:00:00 2001 From: Paul Schreiber Date: Tue, 9 Apr 2024 19:24:43 -0400 Subject: [PATCH] test: remove listitem name --- src/storyMap/components/StoryMapsToolHome.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storyMap/components/StoryMapsToolHome.test.js b/src/storyMap/components/StoryMapsToolHome.test.js index 6fad33593..c1004bf05 100644 --- a/src/storyMap/components/StoryMapsToolHome.test.js +++ b/src/storyMap/components/StoryMapsToolHome.test.js @@ -234,7 +234,7 @@ test('StoryMapsToolHome: accept story map invite', async () => { }, }); - const storyMapItem = screen.getByRole('listitem', { name: 'Story 1' }); + const storyMapItem = screen.getByRole('listitem', { name: '' }); const acceptButton = within(storyMapItem).getByRole('button', { name: 'Accept',