title: How to add two data attribute check in cypress?
body: <p>Ex:</p>
  
  <pre><code>&lt;div data-component="tab" data-value="first_tab"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How can I get data-component="tab" and  data-value="first_tab" together in cypress command?
  Like I want to access select box inside first_tab and I want to be more context specific and write a more readable code:
  What I have tried is below (which is syntactically wrong)</p>
  
  <pre><code>cy.get('[data-component="tab" data-value="first_tab"] [data-component="select_box"]').click()
  </code></pre>