an><span class="token punctuation">,</span> <span class="token string">'The user sees the correct icon.'</span><span class="token punctuation">)</span><span class="token punctuation">;</span>

  assert<span class="token punctuation">.</span><span class="token function">dom</span><span class="token punctuation">(</span><span class="token string">'[data-test-label]'</span><span class="token punctuation">)</span>
    <span class="token punctuation">.</span><span class="token function">hasText</span><span class