فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
test(windows-vm): run native functional matrix after fresh NSIS install and DPAPI checks
davoodmehraban89 committed
Oct 16, 2026 at 18:39 UTC
a492a824db139cbe3d35e3612c0c619fda6ae1c6
1 file changed
+6
tests/windows-vm-installed-tauri-cdp.cjs
+6
@@ -6,6 +6,7 @@ const assert = require('node:assert/strict');
6
const fs = require('node:fs');
7
const path = require('node:path');
8
const { spawn, execFileSync } = require('node:child_process');
9
+const verifyNativeFunctionalMatrix = require('./windows-vm-native-functional-matrix.cjs');
10
11
const [exe, profile, mode, expectedVersion, reportPath] = process.argv.slice(2);
12
assert.equal(process.platform, 'win32');
@@ -205,6 +206,11 @@ async function connect(url) {
206
assert.deepEqual(dpapi, {roundtrip:true,encrypted:true,hex:true});
207
report.dpapi = 'native-Windows-roundtrip-passed';
208
}
209
+ if (mode === 'fresh') {
210
+ // The real installed desktop window, not the browser-only preview:
211
+ // verify accounting activation, financial journal, stock, backup and RTL.
212
+ report.nativeFunctional = await verifyNativeFunctionalMatrix(cdp);
213
+ }
214
report.status = 'PASSED';
215
console.log(JSON.stringify(report, null, 2));
216
} catch (err) {