Skip to content

Commit

Permalink
added test for separator component (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
SohaibMagrabi authored Jun 5, 2024
1 parent b0a0611 commit 92fdd6a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions nightwatch/components/separator.spec.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import GlobalStyles from '../../src/components/GlobalStyles';
import Separator from '../../src/components/Separator';


export default {
title: "SeparatorComponent",
component: Separator
};

export const SeparatorComponent = () => (
<>
<GlobalStyles />
<Separator />
</>
);

SeparatorComponent.test = async (browser, { component }) => {
browser.expect(component).to.be.visible;
browser.click(component);
};

0 comments on commit 92fdd6a

Please sign in to comment.