From 6543cdb36bba11c2c70424d130767ef8d1291135 Mon Sep 17 00:00:00 2001 From: Vladislav Kuzmin <67874880+principalwater@users.noreply.github.com> Date: Fri, 20 Nov 2026 18:42:46 +0300 Subject: [PATCH] test(debugger): expect unquoted strings in the value dialog (#4836) The full-value dialog shows a string without its adapter quotes; the debugger layout e2e test now asserts the unquoted text there and keeps the quoted value in the Variables row. Co-authored-by: principalwater <67874880+principalwater@users.noreply.github.com> Co-authored-by: principalwater <67874880+principalwater@users.noreply.github.com> --- e2e/debugVariablesLayout.spec.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/e2e/debugVariablesLayout.spec.ts b/e2e/debugVariablesLayout.spec.ts index c83fcb6c9..90b6ad4ad 100644 --- a/e2e/debugVariablesLayout.spec.ts +++ b/e2e/debugVariablesLayout.spec.ts @@ -2,7 +2,8 @@ import { expect, stubDesktop, test } from "./fixtures"; const amountName = "regionalSettlementAmountFromExternalProcessorBeforeRounding"; const routingName = "settlementRoutingReferenceForCrossBorderReconciliation"; -const routingValue = "'APR-2026 / eu-west / batch-701 / settlement complete'"; +const routingText = "APR-2026 / eu-west / batch-701 / settlement complete"; +const routingValue = "'" + routingText + "'"; test("keeps values and their full-value action readable in a narrow debugger", async ({ workbench: page }) => { await page.setViewportSize({ width: 1220, height: 760 }); @@ -46,7 +47,7 @@ test("keeps values and their full-value action readable in a narrow debugger", a await expect(show).toBeInViewport({ ratio: 1 }); await show.click(); const dialog = page.getByRole("dialog", { name: `Value of ${routingName}` }); - await expect(dialog.getByText(routingValue, { exact: true })).toBeVisible(); + await expect(dialog.getByText(routingText, { exact: true })).toBeVisible(); await page.keyboard.press("Escape"); await expect(dialog).toBeHidden();