fix helloworld_spec tests

This commit is contained in:
Karsten Hassel 2021-06-11 00:36:53 +02:00
parent 65a8cb9ddb
commit b26270bd13

View File

@ -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!");
}); });
}); });