Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
fix import errors for playwright test
Francis Caod803eb72102c
diff --git a/src/queries/sql/heatmap/ensureHeatmapSnapshot.ts b/src/queries/sql/heatmap/ensureHeatmapSnapshot.tsindex f76f6ac81..42b3eef4f 100644--- a/src/queries/sql/heatmap/ensureHeatmapSnapshot.ts+++ b/src/queries/sql/heatmap/ensureHeatmapSnapshot.ts@@ -578,14 +578,13 @@ function getSnapshotErrorMessage(error: unknown) {}async function createSnapshotBrowser() {+ const { chromium } = await import('playwright-core');const endpoint = process.env.PLAYWRIGHT_URL?.trim();if (endpoint) {- const { chromium } = await import('playwright-core');return chromium.connect(endpoint);}- const { chromium } = await import('@playwright/test');return chromium.launch({channel: 'chromium',headless: true,