Adds test to validate that description is shown

This commit is contained in:
oemel09
2021-04-08 16:56:47 +02:00
parent a49962b8de
commit cb67286bc3
2 changed files with 6 additions and 1 deletions

View File

@@ -27,7 +27,8 @@ let config = {
title: "Rodrigo Ramirez Blog",
url: "http://localhost:8080/tests/configs/data/feed_test_rodrigoramirez.xml"
}
]
],
showDescription: true
}
}
]

View File

@@ -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 () {