From cb67286bc3b30faa6a590f2e207e54e654761493 Mon Sep 17 00:00:00 2001 From: oemel09 Date: Thu, 8 Apr 2021 16:56:47 +0200 Subject: [PATCH] Adds test to validate that description is shown --- tests/configs/modules/newsfeed/default.js | 3 ++- tests/e2e/modules/newsfeed_spec.js | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/configs/modules/newsfeed/default.js b/tests/configs/modules/newsfeed/default.js index 94c9a47f..a26b7a91 100644 --- a/tests/configs/modules/newsfeed/default.js +++ b/tests/configs/modules/newsfeed/default.js @@ -27,7 +27,8 @@ let config = { title: "Rodrigo Ramirez Blog", url: "http://localhost:8080/tests/configs/data/feed_test_rodrigoramirez.xml" } - ] + ], + showDescription: true } } ] diff --git a/tests/e2e/modules/newsfeed_spec.js b/tests/e2e/modules/newsfeed_spec.js index dae3d86b..67606b2f 100644 --- a/tests/e2e/modules/newsfeed_spec.js +++ b/tests/e2e/modules/newsfeed_spec.js @@ -36,6 +36,10 @@ describe("Newsfeed module", function () { it("should show the newsfeed article", 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); + }); }); describe("Custom configuration", function () {