From 3bbc90d7500a21d732dcb95313b56ca643765fba Mon Sep 17 00:00:00 2001 From: Vladislav Kuzmin <67874880+principalwater@users.noreply.github.com> Date: Fri, 20 Nov 2026 19:03:02 +0300 Subject: [PATCH] test(debugger): expect watch for explicit Quick Evaluate (#4837) Explicit Quick Evaluate sends DAP context watch since #4801 so method calls can run; the layout e2e test now expects watch for both evaluations. Co-authored-by: principalwater <67874880+principalwater@users.noreply.github.com> Co-authored-by: principalwater <67874880+principalwater@users.noreply.github.com> --- e2e/quickEvaluateLayout.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/quickEvaluateLayout.spec.ts b/e2e/quickEvaluateLayout.spec.ts index 9b05141e5..ec18d0e0a 100644 --- a/e2e/quickEvaluateLayout.spec.ts +++ b/e2e/quickEvaluateLayout.spec.ts @@ -82,7 +82,7 @@ test("Quick Evaluate opens an object tree that fits the editor and returns focus await expect(hint.getByRole("tree")).toHaveCount(0); await expect(hint).toHaveText(/subtotal\s*=\s*42/); expect(await ipcCalls(page, "debug_evaluate_in")).toEqual([ - { session: 91, frameId: 11, expression: "summary", context: "hover" }, - { session: 91, frameId: 11, expression: "subtotal", context: "hover" }, + { session: 91, frameId: 11, expression: "summary", context: "watch" }, + { session: 91, frameId: 11, expression: "subtotal", context: "watch" }, ]); });