File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/e2e-tests/test-applications/nextjs-app-dir/tests Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { test } from '@playwright/test' ;
2
- import * as crypto from 'crypto' ;
3
2
import { waitForTransaction } from '../../../test-utils/event-proxy-server' ;
4
3
5
4
if ( process . env . TEST_ENV === 'production' ) {
6
5
// 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 ) => {
8
7
await page . goto ( '/client-component' ) ;
9
8
10
- const clientTransactionName = crypto . randomUUID ( ) ;
9
+ const clientTransactionName = `e2e-next-js-app-dir: ${ testInfo . title } ` ;
11
10
12
11
const serverComponentTransaction = waitForTransaction ( 'nextjs-13-app-dir' , async transactionEvent => {
13
12
return (
You can’t perform that action at this time.
0 commit comments