diff --git a/tests/e2e/dev_console.js b/tests/e2e/dev_console.js index 3397ec98..26510ea4 100644 --- a/tests/e2e/dev_console.js +++ b/tests/e2e/dev_console.js @@ -1,8 +1,5 @@ const helpers = require("./global-setup"); -const describe = global.describe; -const it = global.it; - describe("Development console tests", function () { helpers.setupTimeout(this); diff --git a/tests/e2e/env_spec.js b/tests/e2e/env_spec.js index 8d9da80d..d497f256 100644 --- a/tests/e2e/env_spec.js +++ b/tests/e2e/env_spec.js @@ -1,10 +1,10 @@ const helpers = require("./global-setup"); const fetch = require("node-fetch"); -const describe = global.describe; -const it = global.it; -const beforeEach = global.beforeEach; -const afterEach = global.afterEach; + + + + describe("Electron app environment", function () { helpers.setupTimeout(this); diff --git a/tests/e2e/fonts.js b/tests/e2e/fonts.js index ab4f67b8..60ef2ac4 100644 --- a/tests/e2e/fonts.js +++ b/tests/e2e/fonts.js @@ -1,7 +1,7 @@ const helpers = require("./global-setup"); const fetch = require("node-fetch"); -const describe = global.describe; + describe("All font files from roboto.css should be downloadable", function () { helpers.setupTimeout(this); diff --git a/tests/e2e/ipWhitelist_spec.js b/tests/e2e/ipWhitelist_spec.js index 37ae2022..3406e0e7 100644 --- a/tests/e2e/ipWhitelist_spec.js +++ b/tests/e2e/ipWhitelist_spec.js @@ -1,11 +1,6 @@ const helpers = require("./global-setup"); const fetch = require("node-fetch"); -const describe = global.describe; -const it = global.it; -const beforeEach = global.beforeEach; -const afterEach = global.afterEach; - describe("ipWhitelist directive configuration", function () { helpers.setupTimeout(this); diff --git a/tests/e2e/modules/alert_spec.js b/tests/e2e/modules/alert_spec.js index 90322d26..8a5e07be 100644 --- a/tests/e2e/modules/alert_spec.js +++ b/tests/e2e/modules/alert_spec.js @@ -1,9 +1,9 @@ const helpers = require("../global-setup"); -const describe = global.describe; -const it = global.it; -const beforeEach = global.beforeEach; -const afterEach = global.afterEach; + + + + describe("Alert module", function () { helpers.setupTimeout(this); diff --git a/tests/e2e/modules/calendar_spec.js b/tests/e2e/modules/calendar_spec.js index 197b927e..ebf35870 100644 --- a/tests/e2e/modules/calendar_spec.js +++ b/tests/e2e/modules/calendar_spec.js @@ -1,10 +1,10 @@ const helpers = require("../global-setup"); const serverBasicAuth = require("../../servers/basic-auth.js"); -const describe = global.describe; -const it = global.it; -const beforeEach = global.beforeEach; -const afterEach = global.afterEach; + + + + describe("Calendar module", function () { helpers.setupTimeout(this); diff --git a/tests/e2e/modules/clock_es_spec.js b/tests/e2e/modules/clock_es_spec.js index b7537e09..7c72bd08 100644 --- a/tests/e2e/modules/clock_es_spec.js +++ b/tests/e2e/modules/clock_es_spec.js @@ -1,9 +1,9 @@ const helpers = require("../global-setup"); -const describe = global.describe; -const it = global.it; -const beforeEach = global.beforeEach; -const afterEach = global.afterEach; + + + + describe("Clock set to spanish language module", function () { helpers.setupTimeout(this); diff --git a/tests/e2e/modules/clock_spec.js b/tests/e2e/modules/clock_spec.js index e5e0f0b7..8693bfce 100644 --- a/tests/e2e/modules/clock_spec.js +++ b/tests/e2e/modules/clock_spec.js @@ -1,10 +1,10 @@ const helpers = require("../global-setup"); const moment = require("moment"); -const describe = global.describe; -const it = global.it; -const beforeEach = global.beforeEach; -const afterEach = global.afterEach; + + + + describe("Clock module", function () { helpers.setupTimeout(this); diff --git a/tests/e2e/modules/compliments_spec.js b/tests/e2e/modules/compliments_spec.js index 15fc3445..8f89952a 100644 --- a/tests/e2e/modules/compliments_spec.js +++ b/tests/e2e/modules/compliments_spec.js @@ -1,9 +1,9 @@ const helpers = require("../global-setup"); -const describe = global.describe; -const it = global.it; -const beforeEach = global.beforeEach; -const afterEach = global.afterEach; + + + + describe("Compliments module", function () { helpers.setupTimeout(this); diff --git a/tests/e2e/modules/helloworld_spec.js b/tests/e2e/modules/helloworld_spec.js index e9fd166c..0ed12554 100644 --- a/tests/e2e/modules/helloworld_spec.js +++ b/tests/e2e/modules/helloworld_spec.js @@ -1,10 +1,5 @@ const helpers = require("../global-setup"); -const describe = global.describe; -const it = global.it; -const beforeEach = global.beforeEach; -const afterEach = global.afterEach; - describe("Test helloworld module", function () { helpers.setupTimeout(this); diff --git a/tests/e2e/modules/newsfeed_spec.js b/tests/e2e/modules/newsfeed_spec.js index 91a3bf42..15e97d07 100644 --- a/tests/e2e/modules/newsfeed_spec.js +++ b/tests/e2e/modules/newsfeed_spec.js @@ -1,9 +1,9 @@ const helpers = require("../global-setup"); -const describe = global.describe; -const it = global.it; -const beforeEach = global.beforeEach; -const afterEach = global.afterEach; + + + + describe("Newsfeed module", function () { helpers.setupTimeout(this); diff --git a/tests/e2e/modules_display_spec.js b/tests/e2e/modules_display_spec.js index 64f75d2e..9c99f1e0 100644 --- a/tests/e2e/modules_display_spec.js +++ b/tests/e2e/modules_display_spec.js @@ -1,7 +1,7 @@ const helpers = require("./global-setup"); -const describe = global.describe; -const it = global.it; + + describe("Display of modules", function () { helpers.setupTimeout(this); diff --git a/tests/e2e/modules_position_spec.js b/tests/e2e/modules_position_spec.js index aac010a7..f35c53c5 100644 --- a/tests/e2e/modules_position_spec.js +++ b/tests/e2e/modules_position_spec.js @@ -1,7 +1,7 @@ const helpers = require("./global-setup"); -const describe = global.describe; -const it = global.it; + + describe("Position of modules", function () { helpers.setupTimeout(this); diff --git a/tests/e2e/port_config.js b/tests/e2e/port_config.js index 46ebfb23..ca2e61b8 100644 --- a/tests/e2e/port_config.js +++ b/tests/e2e/port_config.js @@ -1,10 +1,10 @@ const helpers = require("./global-setup"); const fetch = require("node-fetch"); -const describe = global.describe; -const it = global.it; -const beforeEach = global.beforeEach; -const afterEach = global.afterEach; + + + + describe("port directive configuration", function () { helpers.setupTimeout(this); diff --git a/tests/e2e/vendor_spec.js b/tests/e2e/vendor_spec.js index fe0077b6..8304da21 100644 --- a/tests/e2e/vendor_spec.js +++ b/tests/e2e/vendor_spec.js @@ -1,8 +1,8 @@ const helpers = require("./global-setup"); const fetch = require("node-fetch"); -const describe = global.describe; -const it = global.it; + + const before = global.before; const after = global.after; diff --git a/tests/e2e/without_modules.js b/tests/e2e/without_modules.js index 1b14f967..b242050c 100644 --- a/tests/e2e/without_modules.js +++ b/tests/e2e/without_modules.js @@ -1,9 +1,9 @@ const helpers = require("./global-setup"); -const describe = global.describe; -const it = global.it; -const beforeEach = global.beforeEach; -const afterEach = global.afterEach; + + + + describe("Check configuration without modules", function () { helpers.setupTimeout(this);