Skip to content

Commit

Permalink
test(@dpc-sdp/ripple-ui-core): remove unused test
Browse files Browse the repository at this point in the history
  • Loading branch information
David Featherston committed Jul 28, 2023
1 parent 905bcad commit 9527e92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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) => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) => ({
Expand Down

0 comments on commit 9527e92

Please sign in to comment.