diff --git a/nightwatch.json b/nightwatch.json deleted file mode 100644 index 13c23a5..0000000 --- a/nightwatch.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "src_folders" : ["test/nightwatch"], - "globals_path": "test/nightwatch/globals.js", - - "test_settings" : { - "default" : { - "silent": true, - "exclude": "globals.js", - "screenshots" : { - "enabled" : false, - "path" : "" - }, - "desiredCapabilities": { - "browserName": "phantomjs", - "javascriptEnabled" : true - } - } - } -} diff --git a/test/nightwatch/environment.js b/test/nightwatch/environment.js deleted file mode 100644 index 1ea4c52..0000000 --- a/test/nightwatch/environment.js +++ /dev/null @@ -1,7 +0,0 @@ -var assert = require("assert"); - -module.exports = { - 'Fetch Web API' : function(browser) { - assert.equal(typeof fetch, "function", "fetch function is not available"); - } -}; diff --git a/test/nightwatch/first_time_flow.js b/test/nightwatch/first_time_flow.js deleted file mode 100644 index 34a85dd..0000000 --- a/test/nightwatch/first_time_flow.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = { - 'Welcome page loads' : function (browser) { - browser - .url('http://localhost:5050') - .waitForElementVisible('body', 1000); - browser.end(); - } -}; diff --git a/test/nightwatch/globals.js b/test/nightwatch/globals.js deleted file mode 100644 index 97f2a0c..0000000 --- a/test/nightwatch/globals.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - before : function(cb) { - console.log("Requiring fetch polyfill"); - fetch = require('node-fetch'); - cb(); - } -};