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>
This commit is contained in:
Vladislav Kuzmin
2026-11-20 23:42:46 +08:00
committed by GitHub
parent 684c92ce90
commit 6543cdb36b
+3 -2
View File
@@ -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();