https://cypress.io logo
Cypress says my JSON is invalid but it is valid #h...
# i-need-help
s
Did you try with other json files?
at a first glance there does not seem to be an error there
you can try and validate your json https://jsonformatter.curiousconcept.com/#
d
try to add
.json
to your file name in fixture
d
its validated, that was not the problem
this is not correct either
the problem was i had more than element on json and i was not puting the index on the variable on ".type()"
i made a for to run the register of all users in json and it worked
n
you are correct, but error message is confusing in this case