Skip to content
New issue

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

fix: writeFile returns string instead JSON #2373

Merged
merged 11 commits into from
Oct 31, 2018
Merged

fix: writeFile returns string instead JSON #2373

merged 11 commits into from
Oct 31, 2018

Conversation

rezaxdi
Copy link
Contributor

@rezaxdi rezaxdi commented Aug 20, 2018

According to docs, if input of writeFile is an object, it should return an object after successful write instead of a string.

This issue was mentioned here : While writing to a file and then asserting a Cypress.io test, the system throws 'expected undefined to equal..'

If input of writeFile is an object, it should return an object after successful write instead of a string.
@CLAassistant
Copy link

CLAassistant commented Aug 20, 2018

CLA assistant check
All committers have signed the CLA.

@chrisbreiding
Copy link
Contributor

@rezaxdi
Copy link
Contributor Author

rezaxdi commented Aug 20, 2018

I just forgot that, added.

@chrisbreiding
Copy link
Contributor

Thanks for the test. There's an issue with Circle CI related to PRs from forks and the cache that's causing all the tests to fail. Once we resolve that and see all the tests pass, we'll get this merged.

@bahmutov
Copy link
Contributor

the failure is due to group run bug, will be fixed soon by pushing the API

@brian-mann
Copy link
Member

@lilaconlee per our discussion today... forgot this was an open PR, hah

@brian-mann brian-mann added the type: unexpected behavior User expected result, but got another label Oct 31, 2018
@brian-mann brian-mann merged commit 6087111 into cypress-io:develop Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: unexpected behavior User expected result, but got another
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants