[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:
Veeck
2025-11-05 18:09:30 +01:00
committed by GitHub
parent 9d713ffd69
commit 034f3c4b2a
3 changed files with 6 additions and 4 deletions

View File

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