From 841b5a42400f55098e8ada2bbfc7e34a07721ae7 Mon Sep 17 00:00:00 2001 From: MUEDSA <7676275+muedsa@users.noreply.github.com> Date: Mon, 22 Jul 2024 11:23:54 +0800 Subject: [PATCH] fix(BaselineProfile): findObject res catalogScreen_card_1 --- .../java/com/muedsa/jcytv/benchmark/BaselineProfileGenerator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/src/main/java/com/muedsa/jcytv/benchmark/BaselineProfileGenerator.kt b/benchmark/src/main/java/com/muedsa/jcytv/benchmark/BaselineProfileGenerator.kt index 59bcf78..ab493d0 100644 --- a/benchmark/src/main/java/com/muedsa/jcytv/benchmark/BaselineProfileGenerator.kt +++ b/benchmark/src/main/java/com/muedsa/jcytv/benchmark/BaselineProfileGenerator.kt @@ -111,7 +111,7 @@ class BaselineProfileGenerator { pressDPadCenter(); waitForIdle(WAIT_TIMEOUT) // 等待目录加载完成 wait( - Until.findObject(By.res("catalogScreen_card_")), + Until.findObject(By.res("catalogScreen_card_1")), INITIAL_WAIT_TIMEOUT ) // 浏览目录