9. cbtr-testem-browserstack-init¶
This executable helps you generate testem.json
- Testem’s settings - from cross-browser-tests-runner Settings that includes BrowserStack browsers.
NOTE: Please note that browsers from other platforms would not work even if they are included in the settings file.
9.1. Usage¶
$ ./node_modules/.bin/cbtr-testem-browserstack-init [--help|-h] [--input|-i <cbtr-settings-file>] [--output|-o <testem-settings-file>]
Defaults:
input cbtr.json in project root
output testem.json in project root
Options:
help print this help
input cross-browser-tests-runner settings file
output testem settings file
9.2. Questions asked¶
The utility would ask you the following questions:
Are you using multiple tunnels with different identifiers? (y/n) [If unsure, choose "n"]
- BrowserStack supports multiple tunnels with different identifiers as well as a single tunnel without any id. If your tests need multiple tunnels, choose ‘y’, or else ‘n’. The tool would generate tunnel IDs in case you chose ‘y’.
Do you need to take screenshots of your tests once completed? (y/n)
Do you need to take video of your test? (y/n)
- Some browsers may not support taking a video, and this behavior is pretty dynamic. So you need to experiment and figure out for yourself.
Please provide a timeout value [60]
- Minimum timeout on BrowserStack has to be 60 seconds.