mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-29 20:49:54 +00:00
Add first test for newsfeed module.
This test case check if set newsfeed title
This commit is contained in:
parent
ccf612f536
commit
2a94ee55cc
@ -18,14 +18,11 @@ describe("Newsfeed module", function () {
|
||||
describe("Default configuration", function() {
|
||||
|
||||
before(function() {
|
||||
// Set config sample for use in test
|
||||
process.env.MM_CONFIG_FILE = "tests/configs/modules/newsfeed/default.js";
|
||||
});
|
||||
|
||||
it("Check here", function () {
|
||||
return app.client.waitUntilTextExists(".newsfeed .small", "New York Times, in day:", 10000);
|
||||
it("show title newsfeed", function () {
|
||||
return app.client.waitUntilTextExists(".newsfeed .small", "Rodrigo Ramirez Blog", 10000).should.be.fulfilled;
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user