DEV Community

Discussion on: Test your Meteor app with Docker, Jenkins and Cypress (Part 1)

Collapse
 
mitar profile image
Mitar

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:

{
  "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"
}
Collapse
 
splitified profile image
Jean-Denis Gallego

Thanks for the input ! I've edited the post.

Collapse
 
mitar profile image
Mitar

I also tried to make a custom command to call Meteor methods but I didn't get as far as I would like.