zalando-zmon / zmon-controller

ZMON UI and REST API
https://docs.zmon.io/
Other
21 stars 17 forks source link

Authentication should not be required for e2e tests #40

Open elauria opened 8 years ago

elauria commented 8 years ago

Current profiles require user interaction to authenticate.

A local profile without any authentication required is needed to automate e2e tests for the angular app.

hjacobs commented 8 years ago

:+1: to support a profile without authentication for local testing.

hjacobs commented 8 years ago

Yes, we should tackle this soonish..

rajatparida86 commented 6 years ago

@elauria Is this still valid as we are supposed to test on staging now? If this issue is still valid could you please add a better description of the issue (Detailed problem and why is it important)

elauria commented 6 years ago

@rajatparida86 we have a set of end-to-end tests that check wether the backend and the UI are working properly, from UI interactions to backend responses. This tests are of great value when developing to confirm the expected behaviours persists and we didn't screw something up.

Since immemorable times we haven't been able to run this tests automatically because authentication is required. Someone (the developer) has to give his/her credentials and also the 2-factor code. This doesn't work in practice and automation is not attainable.

Having a way to run ZMON locally without authentication required is basic for this tests to be automated.