fix: unittest

This commit is contained in:
xucong.053
2023-02-23 19:38:56 +08:00
parent 610ad906e9
commit fe3f37d40d
6 changed files with 63 additions and 79 deletions

View File

@@ -234,7 +234,7 @@ func (dExt *DriverExt) ClosePopupHandler() {
x, y, width, height := dExt.MappingToRectInUIKit(rect)
pointX := x + width*0.5
pointY := y + height*0.5
err = dExt.TapAbsXY(pointX, pointY)
err = dExt.Driver.TapFloat(pointX, pointY)
if err != nil {
break
}