Automation e2e test with maestro
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
flows:
|
||||
- flows/*
|
||||
|
||||
executionOrder:
|
||||
continueOnFailure: false
|
||||
flowsOrder:
|
||||
- login
|
||||
@@ -0,0 +1,10 @@
|
||||
appId: com.digitoolsolutions.app.torquevaultkmp
|
||||
---
|
||||
- runFlow:
|
||||
file: ../subflows/launch-app.yaml
|
||||
|
||||
- runFlow:
|
||||
file: ../subflows/login-steps.yaml
|
||||
|
||||
- runFlow:
|
||||
file: ../subflows/communicate-steps.yaml
|
||||
@@ -0,0 +1,6 @@
|
||||
appId: com.digitoolsolutions.app.torquevaultkmp
|
||||
---
|
||||
- runFlow:
|
||||
file: ../subflows/launch-app.yaml
|
||||
- runFlow:
|
||||
file: ../subflows/login-steps.yaml
|
||||
@@ -0,0 +1,6 @@
|
||||
appId: com.digitoolsolutions.app.torquevaultkmp
|
||||
---
|
||||
#- runFlow:
|
||||
# file: ../subflows/launch-app.yaml
|
||||
- runFlow:
|
||||
file: ../subflows/communicate-steps.yaml
|
||||
@@ -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"
|
||||
@@ -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"
|
||||
@@ -0,0 +1,6 @@
|
||||
appId: com.digitoolsolutions.app.torquevaultkmp
|
||||
---
|
||||
- launchApp:
|
||||
clearState: true
|
||||
- waitForAnimationToEnd:
|
||||
timeout: 3000
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user