diff --git a/packages/ripple-ui-core/src/components/button/RplButton.stories.mdx b/packages/ripple-ui-core/src/components/button/RplButton.stories.mdx index 0baacec8b7..b14286636e 100644 --- a/packages/ripple-ui-core/src/components/button/RplButton.stories.mdx +++ b/packages/ripple-ui-core/src/components/button/RplButton.stories.mdx @@ -5,7 +5,7 @@ import { } from '@storybook/addon-docs' import { within } from '@storybook/testing-library'; import { provide } from 'vue' -import { eventCheck, a11yCheck, a11yStoryCheck } from './../../../stories/interactions.js' +import { a11yCheck, a11yStoryCheck } from './../../../stories/interactions.js' import RplButton from './RplButton.vue'; import { RplButtonThemes, @@ -18,7 +18,6 @@ const playFunction = async ({ canvasElement }) => { const canvas = await within(canvasElement) const button = await canvas.getByRole('button') a11yCheck(canvasElement) - eventCheck(button, 'rpl-button/click') } export const Template = (args) => ({ diff --git a/packages/ripple-ui-core/src/components/text-link/RplTextLink.stories.mdx b/packages/ripple-ui-core/src/components/text-link/RplTextLink.stories.mdx index b5ba91cdfb..970b6fc170 100644 --- a/packages/ripple-ui-core/src/components/text-link/RplTextLink.stories.mdx +++ b/packages/ripple-ui-core/src/components/text-link/RplTextLink.stories.mdx @@ -7,12 +7,11 @@ import { ArgsTable } from '@storybook/addon-docs' import RplTextLink from './RplTextLink.vue' import RplIcon from '../icon/RplIcon.vue' import { within, userEvent } from '@storybook/testing-library' -import { eventCheck, a11yCheck, a11yStoryCheck } from './../../../stories/interactions.js' +import { a11yCheck, a11yStoryCheck } from './../../../stories/interactions.js' const eventTestFunction = async ({ canvasElement }) => { const canvas = await within(canvasElement) const link = await canvas.getByText(/event-tracked link/i) await a11yCheck(canvasElement) - await eventCheck(link, 'rpl-text-link/click') } export const Template = (args) => ({