Merge main
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"size": "1600x900",
|
||||
"params": "chats=3&colors=1",
|
||||
"steps": [
|
||||
{ "open": "/chat/perf-chat-0" },
|
||||
{ "wait": 1500 },
|
||||
{ "click": "Chat actions for api refactor" },
|
||||
{ "click": "Open to the right", "wait": 1500 },
|
||||
{ "eval": "(window.__k = [], window.addEventListener('keydown', (e) => { if (e.altKey) setTimeout(() => window.__k.push({ code: e.code, prevented: e.defaultPrevented })); }, true), true)", "name": "record" },
|
||||
{ "click": "xy:800,850", "wait": 800 },
|
||||
{ "shot": "before" },
|
||||
{ "keys": [
|
||||
{ "type": "keyDown", "key": "Alt", "code": "AltLeft", "windowsVirtualKeyCode": 18, "modifiers": 1 },
|
||||
{ "type": "keyDown", "key": "]", "code": "BracketRight", "windowsVirtualKeyCode": 221, "modifiers": 1 },
|
||||
{ "type": "keyUp", "key": "]", "code": "BracketRight", "windowsVirtualKeyCode": 221, "modifiers": 1 },
|
||||
{ "type": "keyUp", "key": "Alt", "code": "AltLeft", "windowsVirtualKeyCode": 18, "modifiers": 0 }
|
||||
], "wait": 120 },
|
||||
{ "shot": "after-alt-bracket" },
|
||||
{ "eval": "JSON.stringify(window.__k)", "name": "keydown-defaults" },
|
||||
{ "expect": "window.__k.some((k) => k.code === 'BracketRight' && k.prevented)", "name": "alt-bracket-default-prevented" },
|
||||
{ "wait": 1200 },
|
||||
{ "labels": "settled" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user