Merge remote-tracking branch 'upstream/develop' into showWeek-test-es-language

This commit is contained in:
Rodrigo Ramírez Norambuena
2017-08-05 21:11:12 -04:00
10 changed files with 143 additions and 54 deletions

View File

@@ -50,7 +50,7 @@ describe("Electron app environment", function() {
.should.eventually.have.property("height")
.and.be.above(0)
.browserWindow.getTitle()
.should.eventually.equal("Magic Mirror");
.should.eventually.equal("MagicMirror²");
});
it("get request from http://localhost:8080 should return 200", function(done) {

View File

@@ -6,21 +6,24 @@ 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 () {
return; // Test still getting failed in Travis
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);
});