import { loadStory } from "@opensea/testing-utils/story" import { expect, test } from "../../../tests/test" import * as stories from "./UnstyledButton.stories" test("UnstyledButton WithText light", async ({ page }) => { const story = await loadStory(page, stories, "WithText", "light") await expect(story).toHaveScreenshot() }) test("UnstyledButton WithIcon light", async ({ page }) => { const story = await loadStory(page, stories, "WithIcon", "light") await expect(story).toHaveScreenshot() }) test("UnstyledButton WithText dark", async ({ page }) => { const story = await loadStory(page, stories, "WithText", "dark") await expect(story).toHaveScreenshot() }) test("UnstyledButton WithIcon dark", async ({ page }) => { const story = await loadStory(page, stories, "WithIcon", "dark") await expect(story).toHaveScreenshot() })