react-component / react-component/select

Cannot open select panel from jest and react testing library

Open
#886 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
938
Forks
482
Avg merge
15h 8m
Merged PRs (30d)
2

Description

I'm trying to render a selection input where initially nothing will be selected and on the click of the input it will show all the available values.
image
Select is the Select from the package whereas SelectOption is Option. When rendered via react testing library and clicked on the input, the selection list is not generated but works flawlessly in the UI
image

Form library: Formik

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Select interaction with Jest and React Testing Library, using the issue's initially empty selection and click behavior. Compare the test-rendered result with the working UI and identify why the options list is not generated; done means the list opens in the test environment and the regression is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.