Skip to content

Commit e4ae511

Browse files
committed
fixed failing tests because of icon name changes
1 parent e372fa0 commit e4ae511

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

apps/webapp/test/otlpExporter.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ describe("OTLPExporter", () => {
8787
const event = $events[0];
8888
expect(event.message).toBe("Responses API with 'gpt-4o'");
8989
expect(event.style).toMatchObject({
90-
icon: "tabler-brand-openai",
90+
icon: "ai-provider-openai",
9191
});
9292
});
9393

@@ -165,7 +165,7 @@ describe("OTLPExporter", () => {
165165
const event = $events[0];
166166
expect(event.message).toBe("Responses API with gpt-4o");
167167
expect(event.style).toMatchObject({
168-
icon: "tabler-brand-openai",
168+
icon: "ai-provider-openai",
169169
});
170170
// Enrichment also adds model/token pills as accessories
171171
const style = event.style as Record<string, unknown>;
@@ -230,7 +230,7 @@ describe("OTLPExporter", () => {
230230
const $events = enrichCreatableEvents(events);
231231
expect($events[0].message).toBe("Using 'gpt-4' with temperature 0.7");
232232
expect($events[0].style).toEqual({
233-
icon: "tabler-brand-openai",
233+
icon: "ai-provider-openai",
234234
});
235235
});
236236

@@ -261,7 +261,7 @@ describe("OTLPExporter", () => {
261261
const $events = enrichCreatableEvents(events);
262262
expect($events[0].message).toBe("Count is 42 and enabled is true");
263263
expect($events[0].style).toEqual({
264-
icon: "tabler-brand-anthropic",
264+
icon: "ai-provider-anthropic",
265265
});
266266
});
267267

@@ -290,7 +290,7 @@ describe("OTLPExporter", () => {
290290
const $events = enrichCreatableEvents(events);
291291
expect($events[0].message).toBe("Plain message without variables");
292292
expect($events[0].style).toEqual({
293-
icon: "tabler-brand-openai",
293+
icon: "ai-provider-openai",
294294
});
295295
});
296296

@@ -346,7 +346,7 @@ describe("OTLPExporter", () => {
346346
const $events = enrichCreatableEvents(events);
347347
expect($events[0].style).toEqual({
348348
existingStyle: "value",
349-
icon: "tabler-brand-openai", // GenAI enricher wins because it's first
349+
icon: "ai-provider-openai", // GenAI enricher wins because it's first
350350
});
351351
});
352352

0 commit comments

Comments
 (0)