https://cypress.io logo
API testing, how to assert any value of a response...
# i-need-help
b
Hello, I’m trying to make an API assertion that assert that all the
links
from the response have a specific value. For example I want to check that they all have status
isEnabled
. I know how to do it in C# using
Assert.IsTrue(response.Any(a => a.isEnabled));
But I don’t find a way to convert this to Cypress usage, any idea ?
3 Views