diff --git a/src/screens/VisualTests/VisualTests.stories.tsx b/src/screens/VisualTests/VisualTests.stories.tsx index 157f92c1..c157d8d8 100644 --- a/src/screens/VisualTests/VisualTests.stories.tsx +++ b/src/screens/VisualTests/VisualTests.stories.tsx @@ -327,26 +327,26 @@ export const InfrastructureError: Story = { }, }; -export const RenderSettings: Story = { - parameters: { - ...withFigmaDesign( - "https://www.figma.com/file/GFEbCgCVDtbZhngULbw2gP/Visual-testing-in-Storybook?type=design&node-id=508-525764&t=18c1zI1SMe76dWYk-4" - ), - }, - play: playAll(async ({ canvasElement }) => { - const button = await findByRole(canvasElement, "button", { name: "Show render settings" }); - await fireEvent.click(button); - }), -}; - -export const Warnings: Story = { - parameters: { - ...withFigmaDesign( - "https://www.figma.com/file/GFEbCgCVDtbZhngULbw2gP/Visual-testing-in-Storybook?type=design&node-id=516-672810&t=18c1zI1SMe76dWYk-4" - ), - }, - play: playAll(async ({ canvasElement }) => { - const button = await findByRole(canvasElement, "button", { name: "Show warnings" }); - await fireEvent.click(button); - }), -}; +// export const RenderSettings: Story = { +// parameters: { +// ...withFigmaDesign( +// "https://www.figma.com/file/GFEbCgCVDtbZhngULbw2gP/Visual-testing-in-Storybook?type=design&node-id=508-525764&t=18c1zI1SMe76dWYk-4" +// ), +// }, +// play: playAll(async ({ canvasElement }) => { +// const button = await findByRole(canvasElement, "button", { name: "Show render settings" }); +// await fireEvent.click(button); +// }), +// }; + +// export const Warnings: Story = { +// parameters: { +// ...withFigmaDesign( +// "https://www.figma.com/file/GFEbCgCVDtbZhngULbw2gP/Visual-testing-in-Storybook?type=design&node-id=516-672810&t=18c1zI1SMe76dWYk-4" +// ), +// }, +// play: playAll(async ({ canvasElement }) => { +// const button = await findByRole(canvasElement, "button", { name: "Show warnings" }); +// await fireEvent.click(button); +// }), +// }; diff --git a/src/screens/VisualTests/VisualTests.tsx b/src/screens/VisualTests/VisualTests.tsx index 7ba0f7b3..41a12a83 100644 --- a/src/screens/VisualTests/VisualTests.tsx +++ b/src/screens/VisualTests/VisualTests.tsx @@ -1,5 +1,4 @@ import { Icons, Loader } from "@storybook/components"; -import { Icon } from "@storybook/design-system"; // eslint-disable-next-line import/no-unresolved import { GitInfo } from "chromatic/node"; import React, { useCallback, useEffect, useState } from "react"; @@ -363,7 +362,7 @@ export const VisualTests = ({ Latest snapshot on {build.branch} - + {/* - + @@ -385,10 +384,10 @@ export const VisualTests = ({ }} status="warning" > - 2 + 2 - - + */} +