feat: deploy cloud-only RMM and verify audited APT diagnostics
Rust development slice / linux (push) Failing after 7s

This commit is contained in:
2026-11-13 13:49:11 +01:00
parent 6c3203d725
commit fbef0e4e2f
48 changed files with 3125 additions and 34 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ test('simulated human prepares root request through UI only, without approving',
const variants = params.variants;
if (!Array.isArray(variants) || variants.length !== 1) throw new Error('One exact script variant required');
const variant = object(variants[0]);
await page.getByLabel('Interpreter', { exact: true }).selectOption(text(variant.interpreter));
await page.getByRole('combobox', { name: 'Interpreter', exact: true }).selectOption(text(variant.interpreter));
await page.getByLabel('Exakte UTF-8 Skriptbytes', { exact: false }).fill(text(variant.script_utf8));
await page.getByLabel('Erwartete stdout-Ausgabe', { exact: false }).fill(text(params.expected_stdout));
} else {
@@ -130,7 +130,7 @@ test('one opted-in immutable dev/test action: inspect all fixed bytes → UI cli
expect(payload.execution_identity).toBe('root');
expect(action.action).toBe('run_script'); expect(action.interpreter).toBe('posix_sh');
expect(action.arguments).toEqual([]); expect(action.expected_stdout).toBe('RMM test unit prepared\n');
expect(createHash('sha256').update(text(action.script_utf8)).digest('hex')).toBe('159ff240504b8a350b46a56fdf9cd50e5768816de7e6683829f05144978449f0');
expect(createHash('sha256').update(text(action.script_utf8)).digest('hex')).toBe('3e299e84021beaa4cbdce6fa63eda193f6f123aba86368890fe20684c43e78ae');
expect(payload.max_runtime_seconds).toBe(60);
} else if (expected.case === 'refresh_inventory') {
expect(payload.execution_identity).toBe('agent_service');