Skip to content

Commit

Permalink
dev(storybook): temporary logging to fix CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrippey committed Sep 27, 2023
1 parent 192c175 commit f34cec4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/nextjs/components/Search.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ type Story = StoryObj<typeof Search>;
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();
});
Expand Down

0 comments on commit f34cec4

Please sign in to comment.