+
+
+ Visual tests requirements
+
+
+
+
+ );
+};
diff --git a/src/screens/Errors/GitNotFound.stories.tsx b/src/screens/Errors/GitNotFound.stories.tsx
deleted file mode 100644
index 715376e3..00000000
--- a/src/screens/Errors/GitNotFound.stories.tsx
+++ /dev/null
@@ -1,15 +0,0 @@
-import type { Meta, StoryObj } from '@storybook/react-vite';
-
-import { GitNotFound } from './GitNotFound';
-
-const meta = {
- component: GitNotFound,
- args: {
- gitInfoError: new Error('Git info not found'),
- },
-} satisfies Meta;
-
-export default meta;
-type Story = StoryObj;
-
-export const Default: Story = {};
diff --git a/src/screens/Errors/GitNotFound.tsx b/src/screens/Errors/GitNotFound.tsx
deleted file mode 100644
index 26333d69..00000000
--- a/src/screens/Errors/GitNotFound.tsx
+++ /dev/null
@@ -1,61 +0,0 @@
-import React from 'react';
-
-import { Box, BoxList } from '../../components/Box';
-import { Code } from '../../components/Code';
-import { Container } from '../../components/Container';
-import { Link } from '../../components/design-system';
-import { Heading } from '../../components/Heading';
-import { VisualTestsIcon } from '../../components/icons/VisualTestsIcon';
-import { Screen } from '../../components/Screen';
-import { Stack } from '../../components/Stack';
-import { Text } from '../../components/Text';
-import { useTelemetry } from '../../utils/TelemetryContext';
-import { useUninstallAddon } from '../Uninstalled/UninstallContext';
-
-export const GitNotFound = () => {
- useTelemetry('Errors', 'GitNotFound');
- const { uninstallAddon } = useUninstallAddon();
- return (
-
-
-
-
-
- Setup a Git repository
-
- Chromatic requires Git to associate test results with commits and branches.
-
-
-
-
- Run these steps to get started:
-
-
- git init
-
-
- git add .
-
-
- git commit -m "Initial commit"
-
-
-
-
-
- Visual tests requirements
-
-
- uninstallAddon()}>
- Uninstall
-
-
-
-
- );
-};
diff --git a/src/screens/NoDevServer/NoDevServer.tsx b/src/screens/NoDevServer/NoDevServer.tsx
index 0891831c..36530e9b 100644
--- a/src/screens/NoDevServer/NoDevServer.tsx
+++ b/src/screens/NoDevServer/NoDevServer.tsx
@@ -3,7 +3,6 @@ import React from 'react';
import { Code } from '../../components/Code';
import { Container } from '../../components/Container';
import { Heading } from '../../components/Heading';
-import { VisualTestsIcon } from '../../components/icons/VisualTestsIcon';
import { Screen } from '../../components/Screen';
import { Stack } from '../../components/Stack';
import { Text } from '../../components/Text';
@@ -14,7 +13,6 @@ export const NoDevServer = () => {
- Visual tests
Visual tests only runs locally. To test this Storybook, clone it to your machine and
diff --git a/src/screens/Onboarding/InitialBuild.tsx b/src/screens/Onboarding/InitialBuild.tsx
index 3da35abb..e2230674 100644
--- a/src/screens/Onboarding/InitialBuild.tsx
+++ b/src/screens/Onboarding/InitialBuild.tsx
@@ -1,11 +1,10 @@
-import React, { useEffect } from 'react';
+import React from 'react';
import { BuildProgressInline } from '../../components/BuildProgressBarInline';
import { Button } from '../../components/Button';
import { ButtonStack } from '../../components/ButtonStack';
import { Container } from '../../components/Container';
import { Heading } from '../../components/Heading';
-import { VisualTestsIcon } from '../../components/icons/VisualTestsIcon';
import { Screen } from '../../components/Screen';
import { Stack } from '../../components/Stack';
import { Text } from '../../components/Text';
@@ -14,7 +13,6 @@ import { useTelemetry } from '../../utils/TelemetryContext';
const Intro = () => (
- Get started with visual testing
Take an image snapshot of your stories to save their "last known good state" as test
diff --git a/src/screens/Uninstalled/Uninstalled.tsx b/src/screens/Uninstalled/Uninstalled.tsx
index 5a1aee30..9030ed17 100644
--- a/src/screens/Uninstalled/Uninstalled.tsx
+++ b/src/screens/Uninstalled/Uninstalled.tsx
@@ -2,7 +2,6 @@ import React from 'react';
import { Container } from '../../components/Container';
import { Heading } from '../../components/Heading';
-import { VisualTestsIcon } from '../../components/icons/VisualTestsIcon';
import { Screen } from '../../components/Screen';
import { Stack } from '../../components/Stack';
import { Text } from '../../components/Text';
@@ -15,7 +14,6 @@ export const Uninstalled = () => {
- Uninstall complete
Visual tests will vanish the next time you restart your Storybook.