From 9d7b0487d569673afb475af0859fa4a68f5b33d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Ram=C3=ADrez=20Norambuena?= Date: Tue, 25 Jul 2017 20:20:51 -0400 Subject: [PATCH 1/2] Change hooks for vendor_spec: Use the hooks before and after in the vendor_spec instead of use beforeAll and afterAll in the e2e test to prevent failure in CI. --- tests/e2e/vendor_spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/e2e/vendor_spec.js b/tests/e2e/vendor_spec.js index 5d9ba603..c119599b 100644 --- a/tests/e2e/vendor_spec.js +++ b/tests/e2e/vendor_spec.js @@ -6,21 +6,21 @@ const expect = require("chai").expect; const describe = global.describe; const it = global.it; -const beforeEach = global.beforeEach; -const afterEach = global.afterEach; +const before = global.before; +const after = global.after; describe("Vendors", function () { helpers.setupTimeout(this); var app = null; - beforeEach(function () { + before(function () { return helpers.startApplication({ args: ["js/electron.js"] }).then(function (startedApp) { app = startedApp; }) }); - afterEach(function () { + after(function () { return helpers.stopApplication(app); }); From 19f80cf506648520ccdeeab201a7ecb6edc559e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Ram=C3=ADrez=20Norambuena?= Date: Mon, 31 Jul 2017 16:58:33 -0400 Subject: [PATCH 2/2] Add entry in Changelog for change hooks in vendors_spec --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index aefee995..5f762dbe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Updated - Changed 'default.js' - listen on all attached interfaces by default. - Add execution of `npm list` after the test are ran in Travis CI. +- Change hooks for the vendors e2e tests. ### Fixed - Fixed issue with incorrect allignment of analog clock when displayed in the center column of the MM.