mirror of
https://github.com/appium/appium.git
synced 2026-02-19 00:18:56 -06:00
don't put jlipps absolute paths in example
This commit is contained in:
@@ -34,17 +34,17 @@ var build = function(appRoot, cb) {
|
||||
});
|
||||
};
|
||||
|
||||
var appRoot = '/Users/jlipps/Code/appium/sample-code/apps/TestApp/';
|
||||
var appRoot = path.resolve(__dirname, '../sample-code/apps/TestApp/');
|
||||
|
||||
build(appRoot, function() {
|
||||
var simApp = appRoot + 'build/Release-iphonesimulator/TestApp.app';
|
||||
var simApp = path.resolve(appRoot, 'build/Release-iphonesimulator/TestApp.app');
|
||||
console.log("Launching instruments...");
|
||||
var inst = instruments(
|
||||
app
|
||||
, simApp
|
||||
, null
|
||||
, '/Users/jlipps/Code/appium/instruments/bootstrap.js'
|
||||
, '/Users/jlipps/Code/appium/app/uiauto/Automation.tracetemplate'
|
||||
, path.resolve(__dirname, 'bootstrap_example.js')
|
||||
, path.resolve(__dirname, '../app/uiauto/Automation.tracetemplate')
|
||||
);
|
||||
|
||||
inst.launch(function() {
|
||||
|
||||
Reference in New Issue
Block a user