fix: TestSleepStrict

This commit is contained in:
lilong.129
2023-08-24 21:33:11 +08:00
parent be87a2cdcc
commit f7eb196a8e
8 changed files with 40 additions and 12 deletions
@@ -11,6 +11,29 @@
]
},
"teststeps": [
{
"name": "启动 app",
"android": {
"actions": [
{
"method": "app_launch",
"params": "com.ss.android.ugc.aweme"
},
{
"method": "sleep",
"params": 5
}
]
},
"validate": [
{
"check": "ui_foreground_app",
"assert": "equal",
"expect": "com.ss.android.ugc.aweme",
"msg": "app [com.ss.android.ugc.aweme] should be in foreground"
}
]
},
{
"name": "滑动消费 feed 至少 10 个,live 至少 3 个;滑动过程中,70% 随机间隔 0-5s30% 随机间隔 5-10s",
"android": {
@@ -18,7 +41,6 @@
{
"method": "video_crawler",
"params": {
"app_package_name": "com.ss.android.ugc.aweme",
"feed": {
"sleep_random": [
0,