fix: run ocr alone without opencv

This commit is contained in:
debugtalk
2022-09-21 17:50:08 +08:00
parent 937b48236e
commit 976e715357
11 changed files with 42 additions and 24 deletions

View File

@@ -64,6 +64,7 @@
{
"method": "swipe_to_tap_text",
"params": "轻触进入直播间",
"identifier": "进入直播间",
"max_retry_times": 10
}
]
@@ -75,7 +76,8 @@
"actions": [
{
"method": "swipe",
"params": "up"
"params": "up",
"identifier": "第一次上划"
},
{
"method": "sleep",
@@ -86,7 +88,8 @@
},
{
"method": "swipe",
"params": "up"
"params": "up",
"identifier": "第二次上划"
},
{
"method": "sleep",

View File

@@ -33,17 +33,20 @@ teststeps:
actions:
- method: swipe_to_tap_text
params: 轻触进入直播间
identifier: 进入直播间
max_retry_times: 10
- name: 向上滑动,等待 10s
ios:
actions:
- method: swipe
params: up
identifier: 第一次上划
- method: sleep
params: 10
- method: screenshot
- method: swipe
params: up
identifier: 第二次上划
- method: sleep
params: 10
- method: screenshot