Skip to content

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

Open
@benlieb

Description

@benlieb

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions