3. Running The Test
To run our test, execute the AppDriver CLI with a path to the configuration file:
./node_modules/.bin/appdriver --config ./config/local.config.js
Should you wish to alias the command above, simply modify the package.json file with a script command:
{
// ...
"scripts": {
// ...
"test:e2e": "appdriver --config ./config/local.config.js"
}
// ...
}
You can find the complete source code here, including the pre-built application.