Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: basic test using Maestro + set up Maestro #67

Merged
merged 3 commits into from
Apr 13, 2024
Merged

Conversation

alexandre-mrt
Copy link
Collaborator

@alexandre-mrt alexandre-mrt commented Apr 12, 2024

End to end test that uses Maestro a tool that simulate a user utilisation.

Installation

We had to install it first (find informations here: https://maestro.mobile.dev/api-reference/)

Dependencies are necessary, including an android simulator. We used Orbit Expo to simulate on Android.

After building the APK of the app, testing with maestro is available running the following command:
maestro test test-maestro/registration-test.yaml (replace with the right path to the yaml test)

see screenshot here:
image

Contributions :

  • Simulation of a simple login user flow in the login-test.yaml
  • Simulation of a registration user flow in the test-maestro/registration-test.yaml

I enable a recording instruction and the end result can be seen here:

recording.mp4

@alexandre-mrt
Copy link
Collaborator Author

Unable to merge due to last minutes problem with the whole project.

Copy link
Collaborator

@Aidasvenc Aidasvenc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor changes needed in eas.json

@Aidasvenc Aidasvenc marked this pull request as ready for review April 13, 2024 12:43
Copy link

@Aidasvenc Aidasvenc self-requested a review April 13, 2024 12:48
Copy link
Collaborator

@Aidasvenc Aidasvenc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM now!

@Aidasvenc Aidasvenc merged commit f754964 into main Apr 13, 2024
3 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants