test: update system menu expectations and explicit in-app hold focus

This commit is contained in:
Blendman974 committed 2026-11-06 01:22:28 +01:00
1 parent 9df5bd1598
commit be939f401b
2 files changed
+4 -2

No files matched your search

+1
View File
@@ -370,6 +370,7 @@ test('ordinary apps retain long-press system menu and games retain the escape ti
assert.deepEqual(env.input, []);
env.shell.stack.clearToBase();
env.app.window.claimsLongPress = () => true;
env.shell.focusWindow('ai-chat');
await env.shell.receiveInput(env.event('long-press'));
assert.notEqual(env.shell.escapeMenuTimer, null);
await env.shell.receiveInput(env.event('long-press-release'));