From f34cec4f12fce9df4f76ac7d77647aa53b497ed1 Mon Sep 17 00:00:00 2001 From: scottrippey Date: Wed, 27 Sep 2023 13:54:12 -0600 Subject: [PATCH] dev(storybook): temporary logging to fix CORS --- packages/nextjs/components/Search.stories.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nextjs/components/Search.stories.tsx b/packages/nextjs/components/Search.stories.tsx index 35bc747f..ef25f22c 100644 --- a/packages/nextjs/components/Search.stories.tsx +++ b/packages/nextjs/components/Search.stories.tsx @@ -16,6 +16,8 @@ type Story = StoryObj; export const Default: Story = { async play({ canvasElement, step }) { const ui = wrap(canvasElement); + await step(`CURRENT DOMAIN: ${window.location.href}`, async () => {}); + await step("expect to see a search box", async () => { expect(ui.searchbox).toBeVisible(); });