diff --git a/packages/app/app/containers/ArtistViewContainer/ArtistViewContainer.test.tsx b/packages/app/app/containers/ArtistViewContainer/ArtistViewContainer.test.tsx index 5d17eea348..9dbc2b0cbb 100644 --- a/packages/app/app/containers/ArtistViewContainer/ArtistViewContainer.test.tsx +++ b/packages/app/app/containers/ArtistViewContainer/ArtistViewContainer.test.tsx @@ -147,7 +147,7 @@ describe('Artist view container', () => { it('should add all top to queue tracks after clicking add all', async () => { const { component, store } = mountComponent(); - await waitFor(() => component.getByText(/add-all/i).click()); + await waitFor(() => component.getByText(/add all/i).click()); const state = store.getState(); expect(state?.queue?.queueItems).toEqual([ diff --git a/packages/app/app/containers/ArtistViewContainer/__snapshots__/ArtistViewContainer.test.tsx.snap b/packages/app/app/containers/ArtistViewContainer/__snapshots__/ArtistViewContainer.test.tsx.snap index dbfebdb4cc..9ff339382b 100644 --- a/packages/app/app/containers/ArtistViewContainer/__snapshots__/ArtistViewContainer.test.tsx.snap +++ b/packages/app/app/containers/ArtistViewContainer/__snapshots__/ArtistViewContainer.test.tsx.snap @@ -99,7 +99,7 @@ exports[`Artist view container should display an artist 1`] = ` Popular tracks { renderTrackDuration: false }); - expect(component.getByText('00:00')).toBeNull; + expect(component.queryByText('00:00')).toBeNull(); }); const mountComponent = (initialStore?: AnyProps) => {