mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-22 05:07:05 +00:00
snapshot e2e
This commit is contained in:
@@ -31,11 +31,11 @@ describe("Check configuration without modules", function () {
|
||||
|
||||
it("Show the message MagicMirror title", async function () {
|
||||
const elem = await app.client.$("#module_1_helloworld .module-content");
|
||||
return elem.getText("#module_1_helloworld .module-content").should.eventually.equal("Magic Mirror2");
|
||||
return (elem.getText("#module_1_helloworld .module-content") === "Magic Mirror2");
|
||||
});
|
||||
|
||||
it("Show the text Michael's website", async function () {
|
||||
const elem = await app.client.$("#module_5_helloworld .module-content");
|
||||
return elem.getText("#module_5_helloworld .module-content").should.eventually.equal("www.michaelteeuw.nl");
|
||||
return (elem.getText("#module_5_helloworld .module-content") === "www.michaelteeuw.nl");
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user