Wait for applied landscape configuration before explicit recreation and assert the barcode draft after both transitions. Retain focused unlocked input requirements while allowing brief physical-test focus changes. Add a manual-only QA device-screen acceptance path with three actual OS consent rounds, real Home-frame comparison, Stop, lease expiry and forced logout. Protect existing app IDs/ports and compile QA tests in CI. Use non-streaming physical installs and actionable timeout diagnostics. QA and E2E packages compile, runner syntax/actionlint and opt-in/protected port negative controls pass. Actual screen consent and synchronized native scenario execution remain pending; no production code changed. Co-Authored-By: OpenAI GPT-6.1 (Codex) <noreply@openai.com> Signed-off-by: James Maes <james@kof22.com>
9 lines
654 B
JavaScript
9 lines
654 B
JavaScript
// Copyright (c) 2026 QRunIO. SPDX-License-Identifier: Apache-2.0
|
|
// Manual-only system-consent acceptance. Never part of hosted/emulator defaults.
|
|
import { runScannerE2e } from './scanner-e2e-runner.mjs';
|
|
const args = process.argv.slice(2);
|
|
if (args.length !== 5 || args[0] !== '--serial' || args[2] !== '--fixture' || args[4] !== '--operator-consent' || !args[1] || !args[3]) {
|
|
throw new Error('Usage: node scripts/ci/scanner-screen-device.mjs --serial TC22_SERIAL --fixture PRIVATE_QA_FIXTURE.json --operator-consent');
|
|
}
|
|
await runScannerE2e({ physical: true, serial: args[1], scenario: 'device-screen', fixture: args[3], operatorConsent: true });
|