We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating json file with fixture on Runtime.
cy.fixture('file').then((data) => { var test = obj.text() data.variableInFile = test cy.writeFile("cypress/fixtures/file.json", data) }
Fetching variable value in another function in same test,
cy.fixture('file').then((data) => { cy.get("id").type(data.variableInFile) }
I'm getting last updated value from JSON not currently updated when I fetch.
When I fetch with cy.readFile it work as expected.
cy.readFile
The text was updated successfully, but these errors were encountered:
Duplicate of #4716
Sorry, something went wrong.
No branches or pull requests
Updating json file with fixture on Runtime.
Fetching variable value in another function in same test,
I'm getting last updated value from JSON not currently updated when I fetch.
When I fetch with
cy.readFile
it work as expected.The text was updated successfully, but these errors were encountered: