title: rootInstance.findByType("input"); Giving Expected 1 but found 2 instances with node type : "undefined"
body: <p>So I have a component that shows some text fields. One input, one select and based on the input the user uses on that select, (The value of the select)  the third is shown or not. </p>
  
  <p>Im trying to use React-Test-Renderer to test the first input field only, but Im getting the following Error:
   Expected 1 but found 2 instances with node type: "undefined"</p>
  
  <p>Here is the input field code: </p>
  
  <pre><code>    &lt;div&gt;
        &lt;div className="container"&gt;
          &lt;h3 className="h3"&gt;Info&lt;/h3&gt;
          &lt;div className="row"&gt;
            &lt;div className="col"&gt;
              &lt;label htmlFor="test"&gt;test:&lt;/label&gt;
              &lt;input
                id="myID"
                value={aPropThatIsAnEmptyString}
                type="text"
                className={`form-control form-control-sm ${style.fieldsGap}`}
                onChange={e =&gt; setTest(e.target.value)}
                placeholder="test"
              /&gt;
            &lt;/div&gt;
            &lt;div className="col"&gt;
              &lt;label htmlFor="ddlType"&gt;test2:&lt;/label&gt;
              &lt;select
                id="SelectId" 
  </code></pre>
  
  <p>Here is my test code:</p>
  
  <pre><code>
   it("test input field", () =&gt; {
      const newProps = {
        something: initialState,
        dispatch: reducer
      };
      const component = TestRenderer.create(
        &lt;ContextBR.Provider value={{ ...newProps }}&gt;
          &lt;ComponentWithTheFields/&gt;
        &lt;/ContextBR.Provider&gt;
      );
      const rootInstance = component.root;
      console.log(rootInstance);
      const inputField = rootInstance.findByType("input");
  
      inputField.props.onChange({ target: { value: "" } });
      expect(inputField.props.value).toBe("");
  
      inputField.props.onChange({ target: { value: "blue" } });
      expect(inputField.props.value).toBe("blue");
    });
  </code></pre>
  
  <p>IF you're wondering what ContextBR.Provider is, we used context instead of redux. </p>
  
  <p>My error message:
   Expected 1 but found 2 instances with node type: "undefined"</p>
  
  <pre><code>
  
    29 |     const rootInstance = component.root;
    30 |     console.log(rootInstance);
  &gt; 31 |     const inputField= rootInstance.findByType("input");
       |                                   ^
    32 | 
    33 |     inputField.props.onChange({ target: { value: "" } });
    34 |     expect(inputField.props.value).toBe("");
  </code></pre>
  
  <p>I tried ad first without the <code>&lt;ContextBr.Provider</code> wrapping but that gave me Dispatch is null or undefined. Which is probably because I didnt send the context too and the component uses it. </p>
  
  <p>I was expecting it to find the input, and assert if its value is at the one I sent in, "". After that I was aiming at adding duplicate code just instead of sending in "" rather send in "blue " (just as an example)  then assert on that. </p>
  
  <p>Im trying to test user experience. That he can type on it and that it shows what he's typing.</p>