Skip to content

Commit

Permalink
💚 Fix tests and storybook builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed Feb 6, 2024
1 parent 3d04265 commit 8432823
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/AbortionButton/AbortionButton.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const GovMetricEnabled = {
play: async ({canvasElement}) => {
const canvas = within(canvasElement);

const abortButton = await canvas.findByRole('button', {name: 'Abort submission'});
const abortButton = await canvas.findByRole('button', {name: 'Afbreken'});
await expect(abortButton).toBeVisible();
},
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/FormStep/FormStep.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export const govmetricEnabled = {
play: async ({canvasElement}) => {
const canvas = within(canvasElement);

const abortButton = await canvas.findByRole('button', {name: 'Abort submission'});
const abortButton = await canvas.findByRole('button', {name: 'Afbreken'});
await expect(abortButton).toBeVisible();
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const WithGovMetric = {
play: async ({canvasElement}) => {
const canvas = within(canvasElement);

const feedbackLink = await canvas.findByRole('link', {name: 'Give feedback'});
const feedbackLink = await canvas.findByRole('link', {name: 'Geef feedback'});
await expect(feedbackLink).toBeVisible();
await expect(feedbackLink.href).toEqual(
'https://websurveys2.govmetric.com/theme/kf/1234?Q_Formid=a-test-form'
Expand Down

0 comments on commit 8432823

Please sign in to comment.