chore: import upstream snapshot with attribution
Enforce Pull-Request Rules / check (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 12:19:24 +08:00
commit dbe3ade0dc
449 changed files with 71828 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
const { expect } = require("playwright/test");
const helpers = require("./helpers/global-setup");
describe("Check configuration without modules", () => {
let page;
beforeAll(async () => {
await helpers.startApplication("tests/configs/without_modules.js");
await helpers.getDocument();
page = helpers.getPage();
});
afterAll(async () => {
await helpers.stopApplication();
});
it("shows the message MagicMirror² title", async () => {
await expect(page.locator("#module_1_helloworld .module-content")).toContainText("MagicMirror²");
});
it("shows the project URL", async () => {
await expect(page.locator("#module_5_helloworld .module-content")).toContainText("https://magicmirror.builders/");
});
});