mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Improve node files for UI testing
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
**/
|
||||
|
||||
exports.config = {
|
||||
|
||||
|
||||
//
|
||||
// ==================
|
||||
// Specify Test Files
|
||||
@@ -150,12 +150,12 @@ exports.config = {
|
||||
// The only one supported by default is 'dot'
|
||||
// see also: http://webdriver.io/guide/reporters/dot.html
|
||||
reporters: ['spec'],
|
||||
|
||||
|
||||
//
|
||||
// Options to be passed to Mocha.
|
||||
// See the full list at http://mochajs.org/
|
||||
mochaOpts: {
|
||||
timeout: 60000,
|
||||
timeout: 100000,
|
||||
ui: 'bdd'
|
||||
},
|
||||
//
|
||||
@@ -197,7 +197,7 @@ exports.config = {
|
||||
*/
|
||||
// beforeCommand: function (commandName, args) {
|
||||
// },
|
||||
|
||||
|
||||
/**
|
||||
* Hook that gets executed before the suite starts
|
||||
* @param {Object} suite suite details
|
||||
@@ -217,13 +217,13 @@ exports.config = {
|
||||
// beforeHook: function () {
|
||||
// },
|
||||
/**
|
||||
* Hook that gets executed _after_ a hook within the suite starts (e.g. runs after calling
|
||||
* Hook that gets executed _after_ a hook within the suite ends (e.g. runs after calling
|
||||
* afterEach in Mocha)
|
||||
*/
|
||||
// afterHook: function () {
|
||||
// },
|
||||
/**
|
||||
* Function to be executed after a test (in Mocha/Jasmine) or a step (in Cucumber) starts.
|
||||
* Function to be executed after a test (in Mocha/Jasmine) or a step (in Cucumber) ends.
|
||||
* @param {Object} test test details
|
||||
*/
|
||||
// afterTest: function (test) {
|
||||
@@ -234,7 +234,7 @@ exports.config = {
|
||||
*/
|
||||
// afterSuite: function (suite) {
|
||||
// },
|
||||
|
||||
|
||||
/**
|
||||
* Runs after a WebdriverIO command gets executed
|
||||
* @param {String} commandName hook command name
|
||||
|
Reference in New Issue
Block a user