my selector is name="One"
value="textwritinginfield"
what I am doing :
i used
expect("[name=One]").to.have.value('_$')
result:
you attempted to make a chai jquery assertion on object that is neither a DOM object or a jQuery object.
the chai j-query assertion you used was value..
cy.get(#selector).type(" ", {force: true})
cy.get(#otherButton).click()
cy.reload()
expect(#selector).to.have.value('_$')