mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-18 12:57:36 +08:00
fix: run ocr alone without opencv
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user