mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Add phone number and imei to device identity.
This commit is contained in:
@@ -7,7 +7,8 @@ module.exports = syrup.serial()
|
||||
.dependency(require('../support/properties'))
|
||||
.dependency(require('./display'))
|
||||
.dependency(require('./browsers'))
|
||||
.define(function(options, properties, display, browsers) {
|
||||
.dependency(require('./phone'))
|
||||
.define(function(options, properties, display, browsers, phone) {
|
||||
var log = logger.createLogger('device:plugins:identity')
|
||||
|
||||
function solve() {
|
||||
@@ -15,6 +16,7 @@ module.exports = syrup.serial()
|
||||
var identity = devutil.makeIdentity(options.serial, properties)
|
||||
identity.display = display
|
||||
identity.browsers = browsers
|
||||
identity.phone = phone
|
||||
return identity
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user