mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-07 15:07:11 -04:00
Added nightwatch.js test suite for confirming that the app loads correctly and can run operations from each module. Currently only support the latest version of Chrome.
This commit is contained in:
parent
c7e9115994
commit
b0fb9db4b8
8 changed files with 910 additions and 4 deletions
27
nightwatch.json
Normal file
27
nightwatch.json
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"src_folders": ["tests/browser"],
|
||||
"output_folder": "tests/browser/output",
|
||||
|
||||
"test_settings": {
|
||||
|
||||
"default": {
|
||||
"launch_url": "http://localhost:8080",
|
||||
"webdriver": {
|
||||
"start_process": true,
|
||||
"log_path": false
|
||||
}
|
||||
},
|
||||
|
||||
"chrome": {
|
||||
"webdriver": {
|
||||
"server_path": "./node_modules/.bin/chromedriver",
|
||||
"port": 9515
|
||||
},
|
||||
"desiredCapabilities": {
|
||||
"browserName": "chrome"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue