Automation e2e test with maestro

This commit is contained in:
2026-08-18 17:40:02 +07:00
parent c8aac2f6db
commit 0ee4e742c9
12 changed files with 145 additions and 35 deletions
+32
View File
@@ -0,0 +1,32 @@
appId: com.digitoolsolutions.app.torquevaultkmp
---
- tapOn: "Scanner"
- extendedWaitUntil:
visible:
text: "3006"
timeout: 30000 # 30s
- tapOn:
text: "3006"
delay: 1500
- waitForAnimationToEnd:
timeout: 1000
# In case of empty work order
# ---------------------------
#- tapOn:
# text: "Back"
# delay: 500
#
#- assertVisible: "Scanner"
#- waitForAnimationToEnd:
# timeout: 1000
#- extendedWaitUntil:
# visible:
# text: "3006"
# timeout: 30000 # 30s
# In case of work orders
# --------------------------
- tapOn: "Manual Command"
- inputText: "ACCEPT_WO;NG"
- tapOn: "Send"
+16
View File
@@ -0,0 +1,16 @@
appId: com.digitoolsolutions.app.torquevaultkmp
---
- runFlow:
file: ../subflows/launch-app.yaml
- runFlow:
when:
visible: "Enable"
commands:
- tapOn: "Enable"
- runFlow:
when:
visible: "Cho phép"
commands:
- tapOn: "Cho phép"
+6
View File
@@ -0,0 +1,6 @@
appId: com.digitoolsolutions.app.torquevaultkmp
---
- launchApp:
clearState: true
- waitForAnimationToEnd:
timeout: 3000
+24
View File
@@ -0,0 +1,24 @@
appId: com.digitoolsolutions.app.torquevaultkmp
---
#- longPressOn: "Username"
#- tapOn:
# text: "Select All"
# optional: true
#- tapOn:
# text: "Chọn tất cả"
# optional: true
#- eraseText: 1
#- inputText: "admin"
#- tapOn: "App Logo"
#- longPressOn: "Password"
#- tapOn:
# text: "Select All"
# optional: true
#- tapOn:
# text: "Chọn tất cả"
# optional: true
#- eraseText: 1
#- inputText: "admin"
#- tapOn: "App Logo"
- tapOn: "Sign In"
- assertVisible: "Home"