I am trying to assert one element value by using the following code:
async user_verify_loan_term() {
await chaiExpect(element.getAttribute("value")==="3")
}
The assertion is not working. The expected value should be 30; but the test passes. How to fix it?