Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

519 B
Raw Blame
import { expect, test as setup } from '@playwright/test';

const seederUrl = process.env.SIGNOZ_E2E_SEEDER_URL ?? '';

setup('refresh golden dataset', async ({ request }) => {
	setup.setTimeout(150_000);
	expect(seederUrl, 'SIGNOZ_E2E_SEEDER_URL not set').not.toBe('');
	const response = await request.post(`${seederUrl}/seed/golden`, {
		timeout: 120_000,
	});
	expect(response.ok()).toBeTruthy();
	// eslint-disable-next-line no-console
	console.log(`[setup] refreshed golden dataset: ${await response.text()}`);
});