0

How do I claim that a button does not exist? or is it not clickable?

For example in this case I say that something exists, if I wanted to assert that it does not exist?

cy.get('#nova > div > div.content > div.px-view.py-view.mx-auto > div.relative > div.card > div.relative > div.overflow-hidden.overflow-x-auto.relative > table > tbody > tr > td:nth-child(4) ').each(($e, index, $list) => {
            const text = $e.text()
                expect(text).to.eq('\n        Tommy\n      ')

        })
Francisco
  • 10,918
  • 6
  • 34
  • 45
bigeyes
  • 119
  • 1
  • 2
  • 11

0 Answers0