patternfly / patternfly/patternfly-react

CodeEditor - testing is needed for interactions with React Dropzone and the Monaco Editor

Open
#7,467 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

PF Team Pinned
Dominant language
TypeScript
Stars
862
Forks
392
Avg merge
4d 8h
Merged PRs (30d)
9

Description

As mentioned in #7450 the Code Editor is lacking in test coverage based on our newly determined testing guidelines.

I anticipate the most difficult part of this issue will likely be determining how we should test certain aspects surrounding the Monaco Editor and React Dropzone libraries that we use.

Monaco seems to do something that makes entering text in its editor difficult using RTL, and React Dropzone has functions (such as its open function) which I'm not sure how would be best to test.


Jira Issue: PF-182

Contributor guide

Open the contributing guide

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 reviewing the Code Editor component and the testing guidance from #7450, then inspect how React Testing Library interacts with React Dropzone and the Monaco Editor. Determine which interactions need coverage and verify the resulting tests against the project's testing guidelines.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.