v3.30.2: the batch RU wording sweep completed
The v3.30.1 review follow-up. The sweep fixed the two batch-state strings but two more shared (kind-independent) batch strings were still install-specific, so a delete/reinstall batch started under an "install" label: - 'Start batch' was «Запустить пакетную установку» - the ram-batch-start button starts every kind - now «Запустить пакетную операцию» (aligning with the optgroup «Пакетные операции (по картам)»). - the shared panel hint's «...перезапустите пакетную установку» is now «...перезапустите пакетную операцию» (the EN was already neutral). The RU help quoted the old button label: its install row now says «Запустить пакетную операцию не требует карты», and the row's other generic "the batch" statements (never retries, the test-run exclusion) are neutral too; the genuinely install-specific ones (the workflow, the shared install form) stay. The v3.30.1 notes were corrected: the counts labels do follow the last run's kind after a clear (the values stay zero) - the AGENTS entry and the _ramBatchLastKind/ramBatchRender comments say so now. The cleared-title test seeds the state before opening the modal (no reliance on the previous test's sandbox leftovers). 930 frontend + 945 Python; sw cache simple-v452.
This commit is contained in:
@@ -578,10 +578,11 @@ test('a cleared report keeps the run kind in the modal title (v3.30.1)', () => {
|
||||
setModalEls();
|
||||
setPanelEls();
|
||||
app.setSummary(null);
|
||||
app.ramBatchModalOpen();
|
||||
// the state is seeded before the window opens: no reliance on the sandbox
|
||||
// leftovers of the previous test (the modal opens into the run's kind)
|
||||
app.setLast({ kind: 'delete', active: false, phase: 'finished', attempts: [],
|
||||
counts: { installed: 2 }, attempts_total: 2 });
|
||||
app.ramBatchRender();
|
||||
app.ramBatchModalOpen();
|
||||
assert.strictEqual(els['ram-op-title'].textContent, 'Batch delete (per card)');
|
||||
// Clear empties the state (kind: null): the title must not flip to install
|
||||
app.setLast({ kind: null, active: false, phase: 'idle', attempts: [],
|
||||
|
||||
Reference in New Issue
Block a user