FusionAuth / fusionauth-android-sdk

Android SDK for FusionAuth
https://fusionauth.io
Other
3 stars 1 forks source link

feat(FullEnd2EndTest): initial test script integrated in to github workflow #41

Closed Aaron-Ritter closed 6 months ago

Aaron-Ritter commented 6 months ago

This pull request aims to deliver automated Full E2E testing workflows with multiple Android and FusionAuth versions. The following features and changes have been integrated into this branch:

  1. Add Full End 2 End Test with espresso and uiautomator testing: login, request refresh token, logout
  2. Add FusionAuth Docker Compose configuration for the multiple previous and current versions
  3. Add e2e-test-fusionauth-latest.yml Workflow to automatically run the Full End 2 End Test on Android 30, 31, 33, and 34
  4. Add e2e-test-fusionauth-supported.yml Workflow to manually run the Full End 2 End Test on Android 33 and all currently supported FusionAuth versions
  5. The tests make sure of running the emulator, pre-configure chrome, running the Full End 2 End Test in a given matrix, recording the failure in case the Test fails, and uploading it as a artifact.
Aaron-Ritter commented 6 months ago

Still needs a bit fine tuning, as the test seems to fail, according to the uploaded recording, because the keyboard sometimes overlaps the input fields.

Aaron-Ritter commented 6 months ago

ready for review