diff --git a/CHANGELOG.md b/CHANGELOG.md index abb782d7..b0278c75 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,17 +11,19 @@ This project adheres to [Semantic Versioning](http://semver.org/). *This release is scheduled to be released on 2019-10-01.* -### Added -- Adding a Malay (Malaysian) translation for MagicMirror² - ### Added - Spanish translation for "PRECIP" +- Adding a Malay (Malaysian) translation for MagicMirror² +- Add test check URLs of vendors 200 and 404 HTTP CODE. + +### Updated +- Updatenotification module: Display update notification for a limited (configurable) time. +- Enabled e2e/vendor_spec.js tests ### Updated - Updatenotification module: Display update notification for a limited (configurable) time. - The css/custom.css will be rename after the next release. We've add into `run-start.sh` a instruction by GIT to ignore with `--skip-worktree` and `rm --cached`. The history about this change [#1540]. - ### Fixed - Updatenotification module: Properly handle race conditions, prevent crash. - Send `NEWS_FEED` notification also for the first news messages which are shown diff --git a/tests/e2e/vendor_spec.js b/tests/e2e/vendor_spec.js index c58c0ce3..acf7d17f 100644 --- a/tests/e2e/vendor_spec.js +++ b/tests/e2e/vendor_spec.js @@ -9,7 +9,6 @@ const after = global.after; describe("Vendors", function () { - return; // Test still getting failed in Travis helpers.setupTimeout(this); @@ -40,5 +39,14 @@ describe("Vendors", function () { }); }); }); + + Object.keys(vendors).forEach(vendor => { + it(`should return 404 HTTP code for vendor https://localhost/"${vendor}"`, function() { + urlVendor = "http://localhost:8080/" + vendors[vendor]; + request.get(urlVendor, function (err, res, body) { + expect(res.statusCode).to.equal(404); + }); + }); + }); }); });