Loading...
Loading...
Compare original and translation side by side
detox run-serverlim ios launch-app --runtime detoxdetox run-serverlim ios launch-app --runtime detoxlim ios reverse --help
lim ios launch-app --helpundefinedlim ios reverse --help
lim ios launch-app --helpundefinedlim ios reverselim ios reverse
Prefer starting the tester before the app connects, or use the maintained orchestration in `examples/detox-ios`, to avoid benign mediator "cannot forward" noise.
If you manually launch the app before `npx detox test --no-start`, that mediator message is expected until the tester connects.
建议先启动测试端,再让应用连接;或使用`examples/detox-ios`中维护的编排流程,以避免中介出现无关的“无法转发”日志。
如果在执行`npx detox test --no-start`前手动启动应用,那么在测试端连接前,中介出现该提示信息是正常现象。npx detox test --no-startexamples/detox-ios/.detoxrc.cjstype: '@limrun/detox/driver'DETOX_SERVERDETOX_SESSION_IDLIMRUN_IOS_IDLIMRUN_IOS_API_URLLIMRUN_IOS_TOKENexamples/detox-ios-l tracedetox run-servermodule.exports = {
testRunner: { args: { $0: 'jest' }, jest: { setupTimeout: 120000 } },
apps: { ios: { type: 'ios.app', binaryPath: 'unused-by-limrun' } },
devices: {
limrun: {
type: '@limrun/detox/driver',
device: { id: process.env.LIMRUN_IOS_ID },
},
},
configurations: {
'ios.limrun': {
device: 'limrun',
app: 'ios',
behavior: { init: { reinstallApp: false }, cleanup: { shutdownDevice: false } },
},
},
};lim ios launch-app <bundle-id> --runtime detox ...npx detox test --no-startnpx detox test --no-startexamples/detox-ios/.detoxrc.cjstype: '@limrun/detox/driver'DETOX_SERVERDETOX_SESSION_IDLIMRUN_IOS_IDLIMRUN_IOS_API_URLLIMRUN_IOS_TOKENexamples/detox-iosdetox run-server-l tracemodule.exports = {
testRunner: { args: { $0: 'jest' }, jest: { setupTimeout: 120000 } },
apps: { ios: { type: 'ios.app', binaryPath: 'unused-by-limrun' } },
devices: {
limrun: {
type: '@limrun/detox/driver',
device: { id: process.env.LIMRUN_IOS_ID },
},
},
configurations: {
'ios.limrun': {
device: 'limrun',
app: 'ios',
behavior: { init: { reinstallApp: false }, cleanup: { shutdownDevice: false } },
},
},
};lim ios launch-app <bundle-id> --runtime detox ...npx detox test --no-startdetox run-serverrole:"app"appConnected:truetesterConnected:true, appConnected:true--runtime detoxlim ios element-tree --id <ios-id>detox run-serverrole:"app"appConnected:truetesterConnected:true, appConnected:true--runtime detoxlim ios element-tree --id <ios-id>--runtime detox--detox-versiondetoxlim ios launch-appCannot forward the message to the Detox client.accessibilityIdentifier("greetingText")by.id('greetingText')by.text(...)lim ios element-treelim ios element-tree --id <ios-id>detox run-serverlim ios reverselim ios delete <ios-id>--id--runtime detox--detox-versiondetoxlim ios launch-appCannot forward the message to the Detox client.accessibilityIdentifier("greetingText")by.id('greetingText')by.text(...)lim ios element-treelim ios element-tree --id <ios-id>detox run-serverlim ios reverselim ios delete <ios-id>--id