fix: hrp run ios UI tests

This commit is contained in:
debugtalk
2022-09-01 23:54:27 +08:00
parent 47ac7dba0b
commit 4406083d44
5 changed files with 131 additions and 21 deletions
+8
View File
@@ -260,6 +260,14 @@ func (tc *TCase) toTestCase() (*TestCase, error) {
testCase.TestSteps = append(testCase.TestSteps, &StepWebSocket{
step: step,
})
} else if step.IOS != nil {
testCase.TestSteps = append(testCase.TestSteps, &StepIOS{
step: step,
})
} else if step.Android != nil {
testCase.TestSteps = append(testCase.TestSteps, &StepAndroid{
step: step,
})
} else {
log.Warn().Interface("step", step).Msg("[convertTestCase] unexpected step")
}