mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-04 23:16:57 +08:00
fix: handle screen scale for iOS
This commit is contained in:
@@ -68,6 +68,17 @@ func TestNewUSBDriver(t *testing.T) {
|
||||
// t.Log(driver.IsWdaHealthy())
|
||||
}
|
||||
|
||||
func TestDriver_DeviceScaleRatio(t *testing.T) {
|
||||
setup(t)
|
||||
|
||||
scaleRatio, err := driver.Scale()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
t.Log(scaleRatio)
|
||||
}
|
||||
|
||||
func Test_remoteWD_DeleteSession(t *testing.T) {
|
||||
setup(t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user