mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-12-12 09:52:37 +00:00
[newsfeed] fix header layout issue (#3946)
... fixes #3944 introduced with prettier njk linting --------- Co-authored-by: veeck <gitkraken@veeck.de> Co-authored-by: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com>
This commit is contained in:
@@ -11,8 +11,9 @@ describe("Electron app environment", () => {
|
||||
});
|
||||
|
||||
it("should open browserwindow", async () => {
|
||||
const module = await helpers.getElement("#module_0_helloworld");
|
||||
await expect(module.textContent()).resolves.toContain("Test Display Header");
|
||||
// Wait for module content to be rendered, not just the module wrapper
|
||||
const moduleContent = await helpers.getElement("#module_0_helloworld .module-content");
|
||||
await expect(moduleContent.textContent()).resolves.toContain("Test Display Header");
|
||||
expect(global.electronApp.windows()).toHaveLength(1);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user