mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-08 22:13:13 +08:00
refactor: assert device UI
This commit is contained in:
@@ -394,6 +394,13 @@ func (wd *wdaDriver) GetForegroundApp() (app AppInfo, err error) {
|
||||
"GetForegroundApp not implemented for ios")
|
||||
}
|
||||
|
||||
func (wd *wdaDriver) AssertUI(bundleId, viewControllerType string) error {
|
||||
log.Debug().Str("bundleId", bundleId).
|
||||
Str("viewControllerType", viewControllerType).
|
||||
Msg("ios view controller assertion not implemented, skip")
|
||||
return nil
|
||||
}
|
||||
|
||||
func (wd *wdaDriver) Tap(x, y int, options ...ActionOption) error {
|
||||
return wd.TapFloat(float64(x), float64(y), options...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user