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

Code Coverage: Create tests for src/components/CheckIn/CheckInModal.tsx #1063

Closed
8 tasks
duplixx opened this issue Nov 14, 2023 · 3 comments
Closed
8 tasks
Labels
good first issue Good for newcomers test Testing application unapproved

Comments

@duplixx
Copy link
Member

duplixx commented Nov 14, 2023

Description

The CheckInModal.tsx component currently lacks comprehensive test coverage. To ensure its robustness and functionality, we need to create test cases that cover various scenarios.

Steps to Reproduce

  1. Open the CheckInModal.tsx component.
  2. Observe the absence of sufficient test coverage.
  3. Recognize the need for comprehensive tests to validate the component's behavior.

Expected Behavior

The CheckInModal.tsx component should have a suite of tests that cover different use cases, ensuring its reliability and responsiveness.

Suggested Test Cases

  • Test the component when opening the modal.
  • Test the behavior when submitting a check-in.
  • Test the validation of input fields.
  • Test the component with different input scenarios.

Checklist

  • Write test cases for the CheckInModal.tsx component.
  • Ensure the tests cover various use cases and scenarios.
  • Verify that all existing tests pass successfully.
  • Update documentation if necessary.
@github-actions github-actions bot added documentation Improvements or additions to documentation test Testing application unapproved labels Nov 14, 2023
@noman2002
Copy link
Member

@duplixx Please add a screenshot of current coverage.

@duplixx
Copy link
Member Author

duplixx commented Nov 14, 2023

image
here it is.. @noman2002

@palisadoes palisadoes added good first issue Good for newcomers and removed documentation Improvements or additions to documentation labels Nov 15, 2023
@noman2002
Copy link
Member

@duplixx The screenshot shows this file already have 100% coverage.

@noman2002 noman2002 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers test Testing application unapproved
Projects
None yet
Development

No branches or pull requests

3 participants