Cypress.IO: How do I get Text of selected option in select?
Well I had a brain fart and I had actually asked this question before and forgot how to do it. This worked for me
cy.get('#id-9999').find('.categoryList').find(':selected').contains('Miscellaenous')
This is how it should be done:
cy.get('#id-9999').find('option:selected').should('have.text', 'Miscellaenous');
Among other things, it checks for the exact match and not for a substring (like in your solution).