mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
fix helloworld_spec tests
This commit is contained in:
@@ -26,7 +26,7 @@ describe("Test helloworld module", function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("Test message helloworld module", async function () {
|
it("Test message helloworld module", async function () {
|
||||||
const elem = await app.client.$("helloworld");
|
const elem = await app.client.$(".helloworld");
|
||||||
return (elem.getText(".helloworld") === "Test HelloWorld Module");
|
return (elem.getText(".helloworld") === "Test HelloWorld Module");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -38,7 +38,7 @@ describe("Test helloworld module", function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("Test message helloworld module", async function () {
|
it("Test message helloworld module", async function () {
|
||||||
const elem = await app.client.$("helloworld");
|
const elem = await app.client.$(".helloworld");
|
||||||
return (elem.getText(".helloworld") === "Hello World!");
|
return (elem.getText(".helloworld") === "Hello World!");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user