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

Run cypress in test environment and still get changes picked up? #157

Open
benlieb opened this issue Apr 3, 2024 · 2 comments
Open

Run cypress in test environment and still get changes picked up? #157

benlieb opened this issue Apr 3, 2024 · 2 comments

Comments

@benlieb
Copy link

benlieb commented Apr 3, 2024

We are aware of the suggestion to use ENV['CYPRESS'] in development mode, but we find this this option non-functional/unappealing for a number of reasons.

We have a lot of differences between development mode and test mode: environment keys, storage buckets, firebase emulators etc. We want all these to be configured properly as they are for our rspec suite.

Is there an alternative to still get rails and javascript changes to reload cypress in test mode? It seems that would be first thing on the list of a gem like cypress-on-rails, but I don't see it anywhere. Perhaps I missed it?

The alternative is to make our own environment system so we can run with our test env config in development mode (and just to get code reloading), which seems like an anti-pattern.

All help appreciated!

@justin808
Copy link
Member

@benlieb would you be open to having my ShakaCode team help you? If so, please book a call or email me.

@benlieb
Copy link
Author

benlieb commented Apr 4, 2024

@justin808 Just to confirm, is this a paid service your offering? Or just really good developer relations, lol?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants