mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-20 07:40:32 +08:00
Merge branch 'master' into 'pasteboard'
# Conflicts: # internal/version/VERSION
This commit is contained in:
@@ -25,7 +25,7 @@ const (
|
||||
CaseFileName = "case.json" // $PWD/results/20060102150405/case.json
|
||||
|
||||
// mobile device path
|
||||
DeviceActionLogFilePath = "/sdcard/Android/data/io.appium.uiautomator2.server/files/hodor"
|
||||
DeviceActionLogFilePath = "/storage/emulated/0/Download/"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
|
||||
@@ -139,6 +139,16 @@ func getDeviceConfig(deviceModel string) DeviceConfig {
|
||||
SizeMax: 225.0,
|
||||
}
|
||||
|
||||
// "Google"
|
||||
case "iphone":
|
||||
return DeviceConfig{
|
||||
DeviceID: 2,
|
||||
PressureMin: 1,
|
||||
PressureMax: 1,
|
||||
SizeMin: 0.03,
|
||||
SizeMax: 0.04,
|
||||
}
|
||||
|
||||
// Default configuration for unknown devices
|
||||
default:
|
||||
return DeviceConfig{
|
||||
|
||||
Reference in New Issue
Block a user