gates / gates (push) Failing after 11m41s
The catalogue side is app-catalog-felhom.eu b7f0f7c. Here: the evidence, the website, the register and the operator's view. Website - Two cards in the Otthon & Eletmod / Home & Lifestyle section of BOTH apps pages, with assets: grocy-logo.svg is grocy's own icon with its single fill made white like the other logos, lubelogger-logo.png is the app's own icon with its dark background dropped and the mark made white (the rule SparkyFitness's PNG follows), and six screenshots of each app's own UI with a household's own data, taken headless on the bench from the published template. - The app count moved 56 -> 58 in 15 places per language set, both languages, and the open-source tile 49 -> 51. Checked by asking the same patterns for the new number afterwards. marketing/facebook/COPY.md still says 56 and is NOT changed: the post it carries is already scheduled. Evidence - documentation/audits/new-apps-2026-10-10/ — FIT.md (checklist group 0 for all three, with the Hungarian-UI column), the bench and box transcripts, the memory samples, the screenshots and the gate runs. Register: 137 -> 139 rows, 2 opened, 0 closed. - R-926 after a remove-keeping-backups and restore, nobody has checked what the app page shows for an after_install app's generated password. Measured here: LubeLogger is safe (its login is derived from the environment at every start, the new password signs in, the data is back); grocy's install password still signs in from the restored database but the deployed environment no longer carries ADMIN_PASSWORD at all. Seven apps are in the class. - R-927 Monica, stopped at checklist 0.2 with the measurements, waiting on the operator. Gate scripts: the same console trap in nineteen of them and in repo_gates.py itself, where it ABORTED THE WHOLE RUNNER at the first gate — printing a non-ASCII character on this workstation's cp1250 console raised UnicodeEncodeError before the gate had decided anything, and reuse_refs_check.py died while printing a NOTE. All now reconfigure their own streams. Red-proof that the remaining script-test failures are not mine: test_due_checks_gate.py fails the same 5 of 42 with the change reverted.
30 lines
1.7 KiB
JavaScript
30 lines
1.7 KiB
JavaScript
// Screenshots of Grocy's own web UI for the catalog card (checklist 8.3), taken on bench 9401 with
|
|
// headless Chrome (ghcr.io/puppeteer/puppeteer). The app runs from the template with throwaway
|
|
// credentials; the browser asks for Hungarian, which is what a Hungarian household's browser sends.
|
|
const puppeteer = require('puppeteer');
|
|
const sleep = ms => new Promise(r => setTimeout(r, ms));
|
|
(async () => {
|
|
const b = await puppeteer.launch({args: ['--no-sandbox', '--lang=hu-HU', '--accept-lang=hu-HU,hu']});
|
|
const p = await b.newPage();
|
|
await p.setExtraHTTPHeaders({'Accept-Language': 'hu-HU,hu;q=0.9'});
|
|
await p.setViewport({width: 1280, height: 860, deviceScaleFactor: 1});
|
|
// grocy's login form base64-encodes the password in the browser; type it and submit the form.
|
|
await p.goto(process.env.URL + '/login', {waitUntil: 'networkidle0'});
|
|
await sleep(500);
|
|
await p.type('input[name=username]', 'admin');
|
|
await p.type('input[type=password]', process.env.P);
|
|
await p.keyboard.press('Enter');
|
|
await p.waitForNavigation({waitUntil: 'networkidle0', timeout: 30000});
|
|
await sleep(1200);
|
|
await p.screenshot({path: '/out/1.png'}); // the stock overview
|
|
await p.goto(process.env.URL + '/choresoverview', {waitUntil: 'networkidle0'});
|
|
await sleep(1200);
|
|
await p.screenshot({path: '/out/2.png'}); // the chores
|
|
await p.goto(process.env.URL + '/stockoverview', {waitUntil: 'networkidle0'});
|
|
await sleep(1200);
|
|
await p.setViewport({width: 390, height: 844, deviceScaleFactor: 2}); // the same at phone width
|
|
await sleep(1000);
|
|
await p.screenshot({path: '/out/3.png'});
|
|
await b.close();
|
|
})().catch(e => { console.error(e); process.exit(1); });
|