Core 0.1.2 (zero-leading private key load fix); capture state in diagnostics; changelog
ci / linux-arm64-cross (push) Successful in 2m0s
ci / linux-x64 (push) Successful in 2m47s

This commit is contained in:
omar committed 2026-10-24 06:06:49 +03:00
1 parent 7ad5ee8572
commit 401c331aa4
11 files changed
+224 -11

No files matched your search

+3 -1
View File
@@ -33,6 +33,8 @@ async function launch(label) {
}
const state = (page) => page.evaluate(() => ({
audio: window.teamspeachDiagnostics.snapshot().audio,
capturing: window.teamspeachDiagnostics.snapshot().voice.capturing,
framesSent: window.teamspeachDiagnostics.snapshot().voice.framesSent,
menu: Boolean(document.querySelector('.device-menu')),
items: Array.from(document.querySelectorAll('.device-menu [role="menuitemradio"]')).map((i) => ({ label: i.textContent, checked: i.getAttribute('aria-checked') })),
focused: document.activeElement?.id || document.activeElement?.className || '',
@@ -52,7 +54,7 @@ try {
await page.click('#btn-mute', { button: 'right' });
await page.waitForSelector('.device-menu');
let s = await state(page);
step('mic right-click', { menu: s.menu, inputMuted: s.audio.input_muted, items: s.items, insideViewport: s.inside, focused: s.focused });
step('mic right-click', { menu: s.menu, inputMuted: s.audio.input_muted, capturing: s.capturing, framesSent: s.framesSent, items: s.items, insideViewport: s.inside, focused: s.focused });
if (s.audio.input_muted) throw new Error('right-click toggled mute');
await page.screenshot({ path: path.join(out, '62-mic-device-menu.png') });
const pick = s.items[Math.min(2, s.items.length - 1)].label;