-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
Set up a new firebase environment for cypress #626
Conversation
- if [ $REACT_APP_BRANCH != 'production' ]; | ||
then yarn cy:ci; | ||
fi | ||
- yarn cy:run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BenGamma I removed the quick fix because this PR has cypress/app run against the same environment whenever tests are executed
} | ||
|
||
const siteVariant = getSiteVariant(branch, e) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BenGamma For every environment, I think, we need to define the site variant as an env variable so that we don't have to if/else on branch which is very error-prone.
yarn start:ci
. Please note it runs at a different port which is localhost:3456