my problem statement is i am getting a text out of element something like this "stock name: apple inc","stock id: 23244"
i wanted to extract the text portion after ":" colon
my effort
cy.get(".column:nth-child(1)).find('li').eq(0).should('have.text','apple') //returning "stock name: apple inc" instead of "apple inc" only
cy.get(".column:nth-child(1)).find('li').eq(1).should('have.text','23244') //returning "stock id: 23244" instead of "23244" only