JSON formatting after you write into specific file #14905
Answered
by
jennifer-shehane
hvaandres
asked this question in
Questions and Help
-
I'm currently writing into a JSON file every single time that I'm using new login credentials. To make sure we have those emails to make sure we can do an automated process of verifying this information. The way that I'm doing it is by using cypress.writing():
However, every single time that I run my script, I will have this JSON file as a result:
As you can see the formatting is not correct. What can I do to fix this issue? |
Beta Was this translation helpful? Give feedback.
Answered by
jennifer-shehane
Feb 4, 2021
Replies: 1 comment 2 replies
-
@hvaandres What is the final JSON file you are expecting to be written? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
bahmutov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@hvaandres What is the final JSON file you are expecting to be written?