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

Add RTL tests to @shared/UserOrgSelect.jsx #4667

Closed
7 tasks
apburnes opened this issue Nov 20, 2024 · 0 comments · Fixed by #4684
Closed
7 tasks

Add RTL tests to @shared/UserOrgSelect.jsx #4667

apburnes opened this issue Nov 20, 2024 · 0 comments · Fixed by #4684
Assignees

Comments

@apburnes
Copy link
Contributor

apburnes commented Nov 20, 2024

Add a test to @shared/UserOrgSelect.jsx using the RTL framework.

Acceptance Criteria

  • Colocate test file to @shared/UserOrgSelect.test.jsx
  • Test the label is showing as expected
  • Test the error message shows when the select has been touched and has an error
  • Test the options are available
  • Test the default option Please select an organization on initial render
  • Test the select change works
  • Remove components defaultProps and them to the function args
@apburnes apburnes self-assigned this Nov 22, 2024
apburnes added a commit that referenced this issue Nov 26, 2024
apburnes added a commit that referenced this issue Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant