mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-12-12 09:52:37 +00:00
Modified test compliments anytime this follow configuration:
{
morning: [],
afternoon: [],
evening: [],
anytime: ["Anytime here"]
}
This commit is contained in:
@@ -90,10 +90,10 @@ describe("Compliments module", function () {
|
||||
app.stop().then(function() { done(); });
|
||||
});
|
||||
|
||||
it("Show anytime or parts of day compliments", function () {
|
||||
it("Show anytime because if configure empty parts of day compliments and set anytime compliments", function () {
|
||||
return app.client.waitUntilWindowLoaded()
|
||||
.getText(".compliments").then(function (text) {
|
||||
expect(text).to.be.oneOf(["Good Morning", "Good Evening", "Good Afternoon", "Anytime here"]);
|
||||
expect(text).to.be.oneOf(["Anytime here"]);
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user