Single Sign On E2E test concept
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- android, docker, github-actions, java
- Área
- ci-cd, mobile-dev, testing
Línea de trabajo
El issue no nombra archivos del repositorio ni pruebas existentes; empieza revisando la configuración propuesta del servidor Docker, el ejemplo del flujo de trabajo del emulador y los dos flujos de pruebas de SSO. Se considera completado cuando se haya definido e implementado la cobertura de extremo a extremo tanto para el flujo de files-app estable como para el flujo de files-app beta, con un flujo de trabajo push o nightly acordado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
This document is subject of change at all time based on feedback in the comments.
ℹ️ Terms
SSO lib: Nextcloud Single Sign On library3rd party app: Any third party Android app the uses the SSO libfiles app: The Nextcloud Android appserver: A running Nextcloud instance that is accessible via Browser, REST, etc. ...
🙋♂ Motivation
The files app 3.18-RC1 introduced an issue which caused all 3rd party apps stop working. The aftermaths were complaining users, increased support efforts and 1-star ratings. We should avoid this in the future.
🏁 Goal
- When changes in the files app or in the SSO lib lead to a breaking change, we must get notified
- Having an real end to end test, which covers the flow of a 3rd party app authenticating and using the latest SSO lib in combination with the latest beta files app
- Having an real end to end test, which covers the flow of a 3rd party app authenticating and using the latest stable SSO sample app in combination with the latest files app
➡️ Proposal
In order to achieve goal 2 and 3, i came to the conclusion that we eventually need two separate test flows. One should be located in the repository of the SSO lib and one in the repository of the files app.
Testing flows
We already know that those tests will have a quite long runtime due to the usage of an AVD emulator. Ideally they will run on each push event, but i am also fine with setting up a nightly running job. Maybe listening to push events makes sense for the SSO lib (where less commits are made, and we usually have more time), while setting up a nightly job for the files app.
Files app
- Setup a temporary server using the
Dockerimage - Run emulator
- Fetch (or clone) and install the latest stable SSO sample app, for example via
GitHub,jitpack.ioorF-Droid(given the sample app will be published there) - Build and install the current files app
- Run actual test
SSO lib
- Setup a temporary server using the
Dockerimage - Run emulator
- Fetch and install the latest beta files app
- Build and install the current files app
- Run actual test
I would love to get some feedback from @tobiasKaminsky @David-Development @desperateCoder - also feel free to ping everyone who might be interested, wants to join forces or can provide further information (for example regarding Docker.
- Lenguaje dominante
- Java
- Estrellas
- 74
- Forks
- 36
- Merge medio
- 1 d 6 h
- PR fusionados (30 d)
- 15
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nextcloud/Android-SingleSignOn
-
0. Needs triage bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
nextcloud/Android-SingleSignOn#1081 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
nextcloud/Android-SingleSignOn#563 · 2 comentarios · 1 reacción ·
-
0. Needs triage bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
nextcloud/Android-SingleSignOn#894 · 1 reacción ·
-
[Bug]: Brotli or ZSTD reverse proxy compression breaks SSO authentication in some android apps Abierto0. Needs triage bug
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
nextcloud/Android-SingleSignOn#859 · 3 comentarios ·
-
0. Needs triage enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Todos los issues de nextcloud/Android-SingleSignOn
Issues similares
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
Cannot differ own consent and managed consents in My Consents view and detailed consent view. Abierto1.0.0-alpha2 Type/Improvement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
wso2/dpdp-accelerator#272 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
apache/rocketmq-dashboard#4860 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
infinispan/infinispan#18150 ·