mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
test: add unittest
This commit is contained in:
@@ -50,6 +50,11 @@ func TestDriverExt(t *testing.T) {
|
||||
point, _ := driverExt.FindScreenText("hello")
|
||||
t.Log(point)
|
||||
|
||||
err := driverExt.TapByCV(
|
||||
option.WithScreenShotUITypes("deepseek_send"),
|
||||
option.WithScope(0.8, 0.5, 1, 1))
|
||||
assert.Nil(t, err)
|
||||
|
||||
// call IDriver methods
|
||||
driverExt.GetDevice().Install("/path/to/app")
|
||||
driverExt.GetDevice().GetPackageInfo("com.ss.android.ugc.aweme")
|
||||
|
||||
Reference in New Issue
Block a user