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,6 @@
appId: ${APP_ID}
---
- takeScreenshot: build/maestro/300-RoomList
- runFlow: searchRoomList.yaml
- runFlow: timeline/timeline.yaml

View file

@ -0,0 +1,15 @@
appId: ${APP_ID}
---
- tapOn: "search"
- inputText: ${ROOM_NAME.substring(0, 3)}
- takeScreenshot: build/maestro/400-SearchRoom
- tapOn: ${ROOM_NAME}
# Close keyboard
- hideKeyboard
# Back from timeline
- back
# Close keyboard
- hideKeyboard
# Back from search
- back
- runFlow: ../assertions/assertHomeDisplayed.yaml

View file

@ -0,0 +1,14 @@
appId: ${APP_ID}
---
# This is the name of one room
# TODO Create a room on a new account
- tapOn: ${ROOM_NAME}
- takeScreenshot: build/maestro/500-Timeline
- tapOn: "Message…"
- inputText: "Hello world!"
- tapOn: "Toggle full screen mode"
- tapOn: "Toggle full screen mode"
- tapOn: "Send"
- hideKeyboard
- back
- runFlow: ../../assertions/assertHomeDisplayed.yaml