mistercrunch commented on a change in pull request #11207: URL: https://github.com/apache/incubator-superset/pull/11207#discussion_r508997478
########## File path: CONTRIBUTING.md ########## @@ -608,18 +608,34 @@ We use [Cypress](https://www.cypress.io/) for integration tests. Tests can be ru ```bash export SUPERSET_CONFIG=tests.superset_test_config export CYPRESS_BASE_URL="http://localhost:8081" +# ENABLE_REACT_CRUD_VIEWS should be enabled for Cypress testing +sed -i '/ENABLE_REACT_CRUD_VIEWS = False/c\ENABLE_REACT_CRUD_VIEWS = True' superset/config.py +sed -i '/ENABLE_REACT_CRUD_VIEWS = os.environ.get("ENABLE_REACT_CRUD_VIEWS", False)/c\ENABLE_REACT_CRUD_VIEWS = True' tests/superset_test_config.py Review comment: `sed` is super opaque to me, can we just alter `test/superset_test_config.py` to have `ENABLE_REACT_CRUD_VIEWS = True`, I think it's actually the default since recently too ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
