Skip to content

Commit d1eeab5

Browse files
committed
remove german example from story because we would need to maintain it and random language language will lead to matches in the storybook pixel tests
1 parent c8e0bee commit d1eeab5

2 files changed

Lines changed: 1 addition & 42 deletions

File tree

src/components/VisualTour/stories/VisualTour.stories.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
} from "../../../../index";
1717

1818
import stepDefinitionsEn from "./defaultTour";
19-
import stepDefinitionsDe from "./defaultTour.de";
2019

2120
export default {
2221
title: "Components/VisualTour",
@@ -57,9 +56,7 @@ const Template: StoryFn<typeof VisualTour> = (args: VisualTourProps) => {
5756
);
5857
};
5958

60-
// Randomly choose between English and German translation
61-
// FIXME: we cannot use random situation, otherwise the storybook example cannot relly compared between revisions
62-
const stepDefinitions = Math.random() < 0.5 ? stepDefinitionsEn : stepDefinitionsDe;
59+
const stepDefinitions = stepDefinitionsEn;
6360

6461
export const Default = Template.bind({});
6562
const defaultArgs: VisualTourProps = {

src/components/VisualTour/stories/defaultTour.de.ts

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)