mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-22 05:07:05 +00:00
bump electron to v11
This commit is contained in:
@@ -29,11 +29,13 @@ describe("Check configuration without modules", function () {
|
||||
process.env.MM_CONFIG_FILE = "tests/configs/without_modules.js";
|
||||
});
|
||||
|
||||
it("Show the message MagicMirror title", function () {
|
||||
return app.client.waitUntilWindowLoaded().getText("#module_1_helloworld .module-content").should.eventually.equal("Magic Mirror2");
|
||||
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");
|
||||
});
|
||||
|
||||
it("Show the text Michael's website", function () {
|
||||
return app.client.waitUntilWindowLoaded().getText("#module_5_helloworld .module-content").should.eventually.equal("www.michaelteeuw.nl");
|
||||
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");
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user