I have a dropdown list and several names are displayed. I don't know how to call cypress to select one of the options from the dropdown menu
<div class="dx-item dx-list-item" role="option" aria-selected="false">
<div class="dx-template-wrapper dx-item-content dx-list-item-content">
<span style="color: grey;">charlie sheen</span>
</div>
</div>
The class dx-item looks like a good candidate.
cy.contains('.dx-item[role="option"]', 'charlie sheen').click()
Make sure you have opened the dropdown. You haven't mentioned it, so presume you have already done that.