Setup Maestro and add first tests.

Also configure CI
This commit is contained in:
Benoit Marty 2023-01-12 17:36:42 +01:00 committed by Benoit Marty
parent bcda5e3acd
commit 1333ab6643
15 changed files with 187 additions and 1 deletions

View file

@ -0,0 +1,5 @@
appId: ${APP_ID}
---
- tapOn: "Change"
- takeScreenshot: build/maestro/200-ChangeServer
- tapOn: "Continue"

View file

@ -0,0 +1,13 @@
appId: ${APP_ID}
---
- tapOn: "Sign in"
- runFlow: ../assertions/assertLoginDisplayed.yaml
- takeScreenshot: build/maestro/100-SignIn
- runFlow: changeServer.yaml
- runFlow: ../assertions/assertLoginDisplayed.yaml
- tapOn: "Email or username"
- inputText: ${USERNAME}
- tapOn: "Password"
- inputText: ${PASSWORD}
- tapOn: "Continue"
- runFlow: ../assertions/assertHomeDisplayed.yaml

View file

@ -0,0 +1,9 @@
appId: ${APP_ID}
---
- tapOn: "Settings"
- tapOn: "Sign out"
- takeScreenshot: build/maestro/900-SignOutDialg
- tapOn:
text: "Sign out"
index: 1
- runFlow: ../assertions/assertInitDisplayed.yaml