Skip to content

Commit 7c427dc

Browse files
Luca ForstnerAbhiPrasad
authored andcommitted
uuids suck as transactions
1 parent c6bcb7b commit 7c427dc

File tree

1 file changed

+2
-3
lines changed
  • packages/e2e-tests/test-applications/nextjs-app-dir/tests

1 file changed

+2
-3
lines changed

packages/e2e-tests/test-applications/nextjs-app-dir/tests/trace.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import { test } from '@playwright/test';
2-
import * as crypto from 'crypto';
32
import { waitForTransaction } from '../../../test-utils/event-proxy-server';
43

54
if (process.env.TEST_ENV === 'production') {
65
// TODO: Fix that this is flakey on dev server - might be an SDK bug
7-
test('Sends connected traces for server components', async ({ page }) => {
6+
test('Sends connected traces for server components', async ({ page }, testInfo) => {
87
await page.goto('/client-component');
98

10-
const clientTransactionName = crypto.randomUUID();
9+
const clientTransactionName = `e2e-next-js-app-dir: ${testInfo.title}`;
1110

1211
const serverComponentTransaction = waitForTransaction('nextjs-13-app-dir', async transactionEvent => {
1312
return (

0 commit comments

Comments
 (0)