feat: create scaffold for mobile UI test

This commit is contained in:
debugtalk
2022-07-26 17:39:48 +08:00
parent 7a08760eaf
commit ea311c1882
5 changed files with 444 additions and 0 deletions

View File

@@ -759,6 +759,22 @@ func (s *StepRequest) WebSocket() *StepWebSocket {
}
}
// Android creates a new android action
func (s *StepRequest) Android() *StepAndroid {
s.step.Android = &AndroidAction{}
return &StepAndroid{
step: s.step,
}
}
// IOS creates a new ios action
func (s *StepRequest) IOS() *StepIOS {
s.step.IOS = &IOSAction{}
return &StepIOS{
step: s.step,
}
}
// StepRequestWithOptionalArgs implements IStep interface.
type StepRequestWithOptionalArgs struct {
step *TStep