Updater from public releases, English UI by default with Russian selectable, cancelable capture, English technical messages, language-independent smoke hooks
This commit is contained in:
1 parent
ba4c7ec2af
commit
1142c9f60d
53 files changed
+4005
-549
No files matched your search
@@ -118,7 +118,7 @@ try {
|
||||
}, exportFile);
|
||||
await page.click('#btn-settings');
|
||||
await page.click('#identity-export');
|
||||
await page.waitForFunction(() => /UID|не удался/.test(document.querySelector('#identity-status').textContent), null, { timeout: 20000 });
|
||||
await page.waitForFunction(() => Boolean(document.querySelector('#identity-status').dataset.state), null, { timeout: 20000 });
|
||||
const exportStatus = await page.textContent('#identity-status');
|
||||
const { readFileSync, rmSync } = await import('node:fs');
|
||||
const exported = readFileSync(exportFile, 'utf8');
|
||||
@@ -137,7 +137,7 @@ try {
|
||||
await page.click('#btn-settings');
|
||||
await page.click('#settings-nav .nav-item[data-panel="video"]');
|
||||
await page.click('.settings-panel[data-panel="video"] summary');
|
||||
await page.waitForFunction(() => /запрещено/.test(document.querySelector('#hwdec-status').textContent), null, { timeout: 10000 });
|
||||
await page.waitForFunction(() => document.querySelector('#hwdec-status').dataset.policy === 'forbidden', null, { timeout: 10000 });
|
||||
step('after restart', { status: await page.textContent('#hwdec-status'), restartHint: await page.isVisible('#hwdec-restart') });
|
||||
await shot(page, '05-video-decode-disabled.png');
|
||||
await page.check('#opt-hwdec');
|
||||
|
||||
Reference in new issue
Block a user