Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test.fixme('should create AI spans with correct attributes and error linking', a
);

const errorEventPromise = waitForError('nextjs-15', async errorEvent => {
return errorEvent.exception?.values?.[0]?.value?.includes('Tool call failed');
return !!errorEvent.exception?.values?.[0]?.value?.includes('Tool call failed');
});

await page.goto('/ai-error-test');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test.fixme('should create AI spans with correct attributes and error linking', a
);

const errorEventPromise = waitForError('nextjs-16', async errorEvent => {
return errorEvent.exception?.values?.[0]?.value?.includes('Tool call failed');
return !!errorEvent.exception?.values?.[0]?.value?.includes('Tool call failed');
});

await page.goto('/ai-error-test');
Expand Down
Loading