Tips for using Cypress with Meteor

Is anyone using Cypress with Meteor?

Do you have any tips on easing some of the pain point of using it with Meteor such as:

  • Logging in programatically
  • Resetting and seeding the database
1 Like

maybe here https://dev.to/splitified/test-your-meteor-app-with-docker-jenkins-and-cypress-part-1-12om
and https://guide.meteor.com/testing.html#test-data (same tools : cleaner and faker)

I can’t import xolvio:cleaner in Cypress though, can I? As it is an Atmosphere package.

This works:
import React from 'react';
This doesn’t:
import { resetDatabase } from 'meteor/xolvio:cleaner';

look at this thread : Anybody else had this? "Error: Cannot find module 'meteor/xolvio:cleaner'"