Update status-page.spec.js

This commit is contained in:
grvwy 2025-05-23 00:22:01 +02:00
parent b58e0dce14
commit 284e2427e1

View file

@ -128,7 +128,7 @@ test.describe("Status Page", () => {
// Add Google Analytics ID to head and verify
await page.waitForFunction(() => {
return document.head.innerHTML.includes("googletagmanager.com");
return document.head.innerHTML.includes("https://www.googletagmanager.com/gtag/js?id=");
}, { timeout: 5000 });
expect(await page.locator("head").innerHTML()).toContain(googleAnalyticsId);