Skip to content

Commit f351976

Browse files
committed
test(e2e): mask pdf-server Tool Result panel to hide random viewUUID
The display_pdf result now includes a random viewUUID in its text content (visible in the first 100 chars of the Tool Result preview), making the pdf-server screenshot non-deterministic. Mask the collapsible panels as done for other servers with dynamic results.
1 parent 296b592 commit f351976

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/e2e/servers.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ const HOST_MASKS: Record<string, string[]> = {
5151
"basic-svelte": ['[class*="collapsiblePanel"]'],
5252
"basic-vanillajs": ['[class*="collapsiblePanel"]'],
5353
"basic-vue": ['[class*="collapsiblePanel"]'],
54+
// PDF server result includes a random viewUUID in the preview text
55+
"pdf-server": ['[class*="collapsiblePanel"]'],
5456
// System monitor has dynamic system stats in result
5557
"system-monitor": ['[class*="collapsiblePanel"]'],
5658
};

0 commit comments

Comments
 (0)