title: Cypress + Dom Testing Library: getByText does not find input's value
body: <p>I'm using Cypress with <a href="https://github.com/kentcdodds/cypress-testing-library" rel="nofollow noreferrer">Cypress Testing Library</a> to test my React application.</p>
  
  <p>I have an input with a name ('Steve') as its value and I'm trying to find it with cypress like this:</p>
  
  <pre><code>// In the component:
  &lt;input defaultValue="steve" /&gt;
  
  // In the spec file:
  cy.getByText(/steve/i).should('exist');
  </code></pre>
  
  <p>But Cypress does not find this element and the test fails. If I change the input to a div:</p>
  
  <pre><code>&lt;div&gt;Steve&lt;/div&gt;
  </code></pre>
  
  <p>it works (but I need to render an input). How can Cypress (and Dom Testing Library) find input's values?</p>