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>
This commit is contained in:
Vladislav Kuzmin
2026-11-21 00:03:02 +08:00
committed by GitHub
parent 6d157c8b71
commit 3bbc90d750
+2 -2
View File
@@ -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" },
]);
});