change: assert name/xpath exists

This commit is contained in:
debugtalk
2022-08-15 22:34:17 +08:00
parent 66eb8ee865
commit 5c816f3dd1
4 changed files with 39 additions and 35 deletions

View File

@@ -20,10 +20,10 @@ func TestIOSSettingsAction(t *testing.T) {
}
fmt.Println(testCase)
// err := NewRunner(t).Run(testCase)
// if err != nil {
// t.Fatal(err)
// }
err := NewRunner(t).Run(testCase)
if err != nil {
t.Fatal(err)
}
}
func TestIOSSearchApp(t *testing.T) {
@@ -93,10 +93,10 @@ func TestIOSWeixinLive(t *testing.T) {
}
fmt.Println(testCase)
// err := NewRunner(t).Run(testCase)
// if err != nil {
// t.Fatal(err)
// }
err := NewRunner(t).Run(testCase)
if err != nil {
t.Fatal(err)
}
}
func TestIOSCameraPhotoCapture(t *testing.T) {