I think it would be better to put tests under tests directory, which is also not compiled by Meteor. Moreover, some paths should point to a file not a directory. I use the following cypress.json configuration:
tests
cypress.json
{ "fixturesFolder": "tests/cypress/fixtures", "integrationFolder": "tests/cypress/integration", "pluginsFile": "tests/cypress/plugins/index.js", "screenshotsFolder": "tests/cypress/screenshots", "supportFile": "tests/cypress/support/index.js", "videosFolder": "tests/cypress/videos" }
Thanks for the input ! I've edited the post.
I also tried to make a custom command to call Meteor methods but I didn't get as far as I would like.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think it would be better to put tests under
tests
directory, which is also not compiled by Meteor. Moreover, some paths should point to a file not a directory. I use the followingcypress.json
configuration:Thanks for the input ! I've edited the post.
I also tried to make a custom command to call Meteor methods but I didn't get as far as I would like.