Skip to content

Commit

Permalink
fix: Only click on tr if its clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
usame-algan committed Nov 10, 2023
1 parent 646e286 commit 73e77d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/pages/nfts.pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function closeNFTModal() {
}

export function clickOn6thNFT() {
cy.get('tbody tr:nth-child(6) td:nth-child(2)').click()
cy.get('tbody tr:nth-child(6) td:nth-child(2)').should('not.have.css', 'pointer-events').click()
}
export function verifyNFTModalDoesNotExist() {
cy.get(nftModal).should('not.exist')
Expand Down

0 comments on commit 73e77d2

Please sign in to comment.