test: bind basic file acceptance to the actual release version
This commit is contained in:
@@ -101,7 +101,7 @@ try {
|
||||
await expect(desktopPage.getByRole('dialog')).toBeVisible(); record('electron: existing native picker cancel leaves project unchanged (explicit dialog fixture)');
|
||||
await application.close(); application = null;
|
||||
assert.deepEqual(errors, []);
|
||||
const final = await controller.api('/bootstrap'); assert.equal(final.config.mode, 'demo'); assert.equal(final.config.hasKey, false); assert.equal(final.version, '1.22.1');
|
||||
const final = await controller.api('/bootstrap'); assert.equal(final.config.mode, 'demo'); assert.equal(final.config.hasKey, false); assert.equal(final.version, original.identity.version);
|
||||
const result = { success: true, version: final.version, appRoot, root, checks, screenshots, realModelRequests: 0, errors, hostPid: original.identity.pid };
|
||||
fs.writeFileSync(path.join(root, 'result.json'), JSON.stringify(result, null, 2)); fs.writeFileSync('.qa/local-files-latest.json', JSON.stringify(result, null, 2)); console.log(JSON.stringify({ success: true, checks: checks.length, root }));
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user