diff --git a/app/pages/components/Input.vue b/app/pages/components/Input.vue
index 4b81ff5..57f7203 100644
--- a/app/pages/components/Input.vue
+++ b/app/pages/components/Input.vue
@@ -3,5 +3,5 @@ import { Input } from "@/components/input"
-
+
diff --git a/src/components/input/Input.vue b/src/components/input/Input.vue
index e5a2561..674303a 100644
--- a/src/components/input/Input.vue
+++ b/src/components/input/Input.vue
@@ -7,6 +7,7 @@ const props = defineProps<{
defaultValue?: string | number
modelValue?: string | number
class?: HTMLAttributes["class"]
+ placeholder?: string
}>()
const emits = defineEmits<{
@@ -22,6 +23,7 @@ const modelValue = useVModel(props, "modelValue", emits, {
{
- it("passes", () => {
+ beforeEach(() => {
cy.visit("/components/input")
})
+
+ it("contains placeholder", () => {
+ cy.get("input").should("exist").and("have.attr", "placeholder", "Enter your name")
+ })
})