diff --git a/packages/module/src/components/CatalogTile/CatalogTile.test.tsx b/packages/module/src/components/CatalogTile/CatalogTile.test.tsx index 6080958..a52990e 100644 --- a/packages/module/src/components/CatalogTile/CatalogTile.test.tsx +++ b/packages/module/src/components/CatalogTile/CatalogTile.test.tsx @@ -121,6 +121,6 @@ test('CatalogTile onClick behaves properly', async () => { ); // await user.click(screen.getByText('Patternfly')); - await user.click(screen.getByRole('radio')); + await user.click(screen.getByRole('button')); expect(onClickMock).toHaveBeenCalled(); }); diff --git a/packages/module/src/components/CatalogTile/__snapshots__/CatalogTile.test.tsx.snap b/packages/module/src/components/CatalogTile/__snapshots__/CatalogTile.test.tsx.snap index 5519f51..a354aa4 100644 --- a/packages/module/src/components/CatalogTile/__snapshots__/CatalogTile.test.tsx.snap +++ b/packages/module/src/components/CatalogTile/__snapshots__/CatalogTile.test.tsx.snap @@ -18,24 +18,12 @@ exports[`CatalogTile href renders properly 1`] = `
-
- -
+
-
- -
+
-
- -
+