diff --git a/tests/e2e/modules/helloworld_spec.js b/tests/e2e/modules/helloworld_spec.js index 0ed12554..c2193276 100644 --- a/tests/e2e/modules/helloworld_spec.js +++ b/tests/e2e/modules/helloworld_spec.js @@ -26,7 +26,7 @@ describe("Test helloworld module", 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"); }); }); @@ -38,7 +38,7 @@ describe("Test helloworld module", 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!"); }); });