Core 0.1.2 (zero-leading private key load fix); capture state in diagnostics; changelog
This commit is contained in:
1 parent
7ad5ee8572
commit
401c331aa4
11 files changed
+224
-11
No files matched your search
@@ -45,7 +45,8 @@ const readSelects = (page) => page.evaluate(() => {
|
||||
inputValueIsDevice: Boolean(document.querySelector('#input-device').value),
|
||||
outputValueIsDevice: Boolean(document.querySelector('#output-device').value),
|
||||
status: document.querySelector('#device-status').textContent,
|
||||
capturing: window.teamspeachDiagnostics.snapshot().voice.framesSent,
|
||||
framesSent: window.teamspeachDiagnostics.snapshot().voice.framesSent,
|
||||
capturing: window.teamspeachDiagnostics.snapshot().voice.capturing,
|
||||
conn: window.teamspeachDiagnostics.snapshot().conn,
|
||||
toasts: Array.from(document.querySelectorAll('.toast[data-kind="error"]')).map((t) => t.textContent),
|
||||
};
|
||||
@@ -64,7 +65,7 @@ try {
|
||||
await page.click('#settings-nav .nav-item[data-panel="audio"]');
|
||||
await page.waitForFunction(() => document.querySelector('#device-status').textContent.length > 0, null, { timeout: 10000 });
|
||||
let s = await readSelects(page);
|
||||
step('listed without capture', { inputs: s.inputs.length - 1, outputs: s.outputs.length - 1, inputLabels: s.inputs.map((o) => o.label), outputLabels: s.outputs.map((o) => o.label), status: s.status, conn: s.conn, framesSent: s.capturing });
|
||||
step('listed without capture', { inputs: s.inputs.length - 1, outputs: s.outputs.length - 1, inputLabels: s.inputs.map((o) => o.label), outputLabels: s.outputs.map((o) => o.label), status: s.status, conn: s.conn, framesSent: s.framesSent, capturing: s.capturing });
|
||||
await page.screenshot({ path: path.join(out, '60-audio-devices-listed.png') });
|
||||
if (s.inputs.length < 2 || s.outputs.length < 2) throw new Error('no physical devices listed');
|
||||
|
||||
@@ -75,7 +76,7 @@ try {
|
||||
await page.selectOption('#output-device', { label: outputChoice });
|
||||
await page.waitForTimeout(1000);
|
||||
s = await readSelects(page);
|
||||
step('selected', { inputChoice, outputChoice, toasts: s.toasts, framesSent: s.capturing });
|
||||
step('selected', { inputChoice, outputChoice, toasts: s.toasts, framesSent: s.framesSent, capturing: s.capturing });
|
||||
await app.close();
|
||||
|
||||
({ app, page } = await launch('run2'));
|
||||
|
||||
Reference in new issue
Block a user