From 9527e92acbc064aca0e4b6bc0aee13c676e5ee47 Mon Sep 17 00:00:00 2001 From: David Featherston Date: Fri, 28 Jul 2023 10:38:42 +1000 Subject: [PATCH] test(@dpc-sdp/ripple-ui-core): remove unused test --- .../ripple-ui-core/src/components/button/RplButton.stories.mdx | 3 +-- .../src/components/text-link/RplTextLink.stories.mdx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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) => ({