From 92fdd6aec6ad5d2c17791da26fad671c817c727c Mon Sep 17 00:00:00 2001
From: Sohaib Mahmoud <151002819+SohaibMagrabi@users.noreply.github.com>
Date: Wed, 5 Jun 2024 13:23:02 +0300
Subject: [PATCH] added test for separator component (#69)
---
nightwatch/components/separator.spec.tsx | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 nightwatch/components/separator.spec.tsx
diff --git a/nightwatch/components/separator.spec.tsx b/nightwatch/components/separator.spec.tsx
new file mode 100644
index 0000000..535d56a
--- /dev/null
+++ b/nightwatch/components/separator.spec.tsx
@@ -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 = () => (
+ <>
+
+
+ >
+);
+
+SeparatorComponent.test = async (browser, { component }) => {
+ browser.expect(component).to.be.visible;
+ browser.click(component);
+};
\ No newline at end of file