mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Adds test to check that newsfeed description does not show up
This commit is contained in:
@@ -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 () {
|
||||
|
Reference in New Issue
Block a user