Skip to content
Discussion options

You must be logged in to vote

Based on your html, you'll want to find the card by using a selector and its' text by using .contains()

cy.contains('.card', 'name 1')
  .find('[data-test="more-menu"]')
  .click()

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@TruptiBip
Comment options

Answer selected by emilyrohrbough
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants