Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing for the Auth, SignIn and SignUp components #530

Open
2 tasks done
iamalhera opened this issue Feb 4, 2025 · 0 comments
Open
2 tasks done

Testing for the Auth, SignIn and SignUp components #530

iamalhera opened this issue Feb 4, 2025 · 0 comments
Assignees
Labels
test Denotes code testing or validation

Comments

@iamalhera
Copy link

What is this issue related to?

Enhancement

Description

The UI folder currently lacks unit tests for the following components:

Auth
SignIn
SignUp
=> Adding unit tests for these components will help ensure their reliability and catch potential bugs early.
Unit tests are essential to:

Verify that the components render correctly.
Test their behavior under various props and state changes.
Simulate and validate user interactions.
=> This issue will improve code quality, maintainability And it will give less bugs in prod.

Expected Behavior

Each component should have a dedicated test file (e.g., Auth.test.jsx).
Test cases should cover:

Proper rendering of the component.
Functionality of props and state management.
User interactions (e.g., form submissions, button clicks, Animation).

=> Tests should be written using Vitest as the testing framework.

Current Behavior

No test cases exist in the ui folder for the mentioned components.

Auth
SignIn
SignUp

Additional Information (optional)

No response

Confirmation Checklist

  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
@github-project-automation github-project-automation bot moved this to 📦 Backlog in openlogo Feb 4, 2025
@akshayaparida akshayaparida added the test Denotes code testing or validation label Feb 4, 2025
@akshayaparida akshayaparida moved this from 📦 Backlog to 🏃‍♂️ In Progress in openlogo Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Denotes code testing or validation
Projects
Status: 🏃‍♂️ In Progress
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants