Skip to content

Commit

Permalink
Get test to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
ptgott committed Oct 5, 2023
1 parent 3d13d5c commit 4167d4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/Tabs/Tabs.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ export const TabsWithNonLatestVersionAndCloud: Story = {
},
play: async ({ canvasElement, step }) => {
const canvas = within(canvasElement);
expect(canvas.not.toContain("Cloud is not available"));
const tabs = canvas.getAllByTestId("tabitem");
expect(tabs[0].textContent).not.toContain("Cloud is not available");
},
};

0 comments on commit 4167d4b

Please sign in to comment.