feat: support Moto G4 device in emulated devices for performance testing (#5946)
Adding Moto G4 to deviceDescriptors.
This commit is contained in:
parent
845054d28b
commit
f1a888de02
|
|
@ -1139,4 +1139,26 @@ module.exports = {
|
|||
'hasTouch': true,
|
||||
'defaultBrowserType': 'chromium'
|
||||
},
|
||||
'Moto G4': {
|
||||
'userAgent': 'Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4143.7 Mobile Safari/537.36',
|
||||
'viewport': {
|
||||
'width': 360,
|
||||
'height': 640
|
||||
},
|
||||
'deviceScaleFactor': 3,
|
||||
'isMobile': true,
|
||||
'hasTouch': true,
|
||||
'defaultBrowserType': 'chromium'
|
||||
},
|
||||
'Moto G4 landscape': {
|
||||
'userAgent': 'Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4143.7 Mobile Safari/537.36',
|
||||
'viewport': {
|
||||
'width': 640,
|
||||
'height': 360
|
||||
},
|
||||
'deviceScaleFactor': 3,
|
||||
'isMobile': true,
|
||||
'hasTouch': true,
|
||||
'defaultBrowserType': 'chromium'
|
||||
}
|
||||
};
|
||||
|
|
|
|||
2
types/types.d.ts
vendored
2
types/types.d.ts
vendored
|
|
@ -11172,6 +11172,8 @@ type Devices = {
|
|||
"Pixel 4a (5G) landscape": DeviceDescriptor;
|
||||
"Pixel 5": DeviceDescriptor;
|
||||
"Pixel 5 landscape": DeviceDescriptor;
|
||||
"Moto G4": DeviceDescriptor;
|
||||
"Moto G4 landscape": DeviceDescriptor;
|
||||
[key: string]: DeviceDescriptor;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue