Setup Maestro and add first tests.
Also configure CI
This commit is contained in:
parent
bcda5e3acd
commit
1333ab6643
15 changed files with 187 additions and 1 deletions
5
.maestro/tests/account/changeServer.yaml
Normal file
5
.maestro/tests/account/changeServer.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
appId: ${APP_ID}
|
||||
---
|
||||
- tapOn: "Change"
|
||||
- takeScreenshot: build/maestro/200-ChangeServer
|
||||
- tapOn: "Continue"
|
||||
13
.maestro/tests/account/login.yaml
Normal file
13
.maestro/tests/account/login.yaml
Normal 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
|
||||
9
.maestro/tests/account/logout.yaml
Normal file
9
.maestro/tests/account/logout.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue