From ff297c8d9353c6f80e6ec5b53548c72234201912 Mon Sep 17 00:00:00 2001 From: DH V2 Dev Date: Tue, 15 Sep 2026 19:55:05 -0300 Subject: [PATCH] test(f6.9): align Android contracts with narrative and version 0.19.11 --- api-v3/test/unit/f5-android-test-cut.test.ts | 4 ++-- api-v3/test/unit/f6-3-mobile-act-finding-flow.test.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api-v3/test/unit/f5-android-test-cut.test.ts b/api-v3/test/unit/f5-android-test-cut.test.ts index 333b60a..35d7ca6 100644 --- a/api-v3/test/unit/f5-android-test-cut.test.ts +++ b/api-v3/test/unit/f5-android-test-cut.test.ts @@ -10,8 +10,8 @@ function mountedRepoFile(path: string): string { test('F6.3 Android test cut targets production API and has a distinct installable debug version', () => { const gradle = mountedRepoFile('android-app/app/build.gradle.kts'); - assert.match(gradle, /versionCode = 38/); - assert.match(gradle, /versionName = "0\.19\.10"/); + assert.match(gradle, /versionCode = 39/); + assert.match(gradle, /versionName = "0\.19\.11"/); assert.match(gradle, /https:\/\/dhv2\.korexlabs\.com\/api\/v3\//); assert.match(gradle, /applicationIdSuffix = "\.debug"/); }); diff --git a/api-v3/test/unit/f6-3-mobile-act-finding-flow.test.ts b/api-v3/test/unit/f6-3-mobile-act-finding-flow.test.ts index 5a1c430..8edc862 100644 --- a/api-v3/test/unit/f6-3-mobile-act-finding-flow.test.ts +++ b/api-v3/test/unit/f6-3-mobile-act-finding-flow.test.ts @@ -43,9 +43,9 @@ test('F6.3 Android follows Inspección → Acta → Hallazgo → Inventario', () assert.doesNotMatch(root, /Text\("Inventario de campo"/); assert.match(acts, /Text\("Agregar Hallazgo"\)/); assert.match(acts, /model\.createAct\(\)/); - assert.match(acts, /model\.prepareSelectedAct\(closingUrgency\)/); + assert.match(acts, /model\.prepareSelectedAct\(closingUrgency, actNarrative\)/); assert.match(vm, /fun createAct\(\)/); - assert.match(vm, /fun prepareSelectedAct\(urgency: String\)/); + assert.match(vm, /fun prepareSelectedAct\(urgency: String, narrative: String\)/); assert.match(vm, /repository\.fieldInventory\(currentVisit\.id, search, parentId\)/); });