fix: unittest

This commit is contained in:
lilong.129
2023-08-25 18:05:57 +08:00
parent 8f7da0f2ac
commit 6e1fa9f70d
2 changed files with 3 additions and 2 deletions

View File

@@ -81,7 +81,8 @@ func TestTapUIWithScreenshot(t *testing.T) {
t.Fatal(err)
}
err = driver.TapByUIDetection([]string{"dyhouse", "shoppingbag"})
err = driver.TapByUIDetection(
WithScreenShotUITypes("dyhouse", "shoppingbag"))
if err != nil {
t.Fatal(err)
}