diff --git a/tests/configs/modules/newsfeed/default.js b/tests/configs/modules/newsfeed/default.js index a26b7a91..94c9a47f 100644 --- a/tests/configs/modules/newsfeed/default.js +++ b/tests/configs/modules/newsfeed/default.js @@ -27,8 +27,7 @@ let config = { title: "Rodrigo Ramirez Blog", url: "http://localhost:8080/tests/configs/data/feed_test_rodrigoramirez.xml" } - ], - showDescription: true + ] } } ] diff --git a/tests/configs/modules/newsfeed/prohibited_words.js b/tests/configs/modules/newsfeed/prohibited_words.js index e039385e..f9bfa5cf 100644 --- a/tests/configs/modules/newsfeed/prohibited_words.js +++ b/tests/configs/modules/newsfeed/prohibited_words.js @@ -27,7 +27,8 @@ let config = { url: "http://localhost:8080/tests/configs/data/feed_test_rodrigoramirez.xml" } ], - prohibitedWords: ["QPanel"] + prohibitedWords: ["QPanel"], + showDescription: true } } ] diff --git a/tests/e2e/modules/newsfeed_spec.js b/tests/e2e/modules/newsfeed_spec.js index 67606b2f..b0f81133 100644 --- a/tests/e2e/modules/newsfeed_spec.js +++ b/tests/e2e/modules/newsfeed_spec.js @@ -37,8 +37,8 @@ describe("Newsfeed module", function () { return app.client.waitUntilTextExists(".newsfeed .newsfeed-title", "QPanel", 10000); }); - it("should show the newsfeed description", function () { - return app.client.waitUntilTextExists(".newsfeed .newsfeed-desc", "Para instalar esta nueva versión", 10000); + it("should not show the newsfeed description", function () { + return !app.client.waitUntilTextExists(".newsfeed .newsfeed-desc", "Para instalar esta nueva versión", 10000); }); }); @@ -50,6 +50,10 @@ describe("Newsfeed module", function () { it("should not show articles with prohibited words", function () { return app.client.waitUntilTextExists(".newsfeed .newsfeed-title", "Problema VirtualBox", 10000); }); + + it("should show the newsfeed description", function () { + return app.client.waitUntilTextExists(".newsfeed .newsfeed-desc", "Después de una actualización de Debian", 10000); + }); }); describe("Invalid configuration", function () {