test(f8): apuntar shell Android al flujo simple
This commit is contained in:
@@ -21,13 +21,18 @@ test('F6.4 Android Installation picker searches live and selects a concrete pare
|
|||||||
assert.match(screen, /model\.loadFieldTypes\(item\.id\)/);
|
assert.match(screen, /model\.loadFieldTypes\(item\.id\)/);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('F6.4 Android field shell uses the modern theme and workspace', () => {
|
test('F8 Android field shell uses the shared theme and the inspection-first workspace', () => {
|
||||||
const gate = repoFile('android-app/app/src/main/java/com/korexlabs/dhinspeccion/ui/LoginGate.kt');
|
const gate = repoFile('android-app/app/src/main/java/com/korexlabs/dhinspeccion/ui/LoginGate.kt');
|
||||||
const theme = repoFile('android-app/app/src/main/java/com/korexlabs/dhinspeccion/ui/DhTheme.kt');
|
const theme = repoFile('android-app/app/src/main/java/com/korexlabs/dhinspeccion/ui/DhTheme.kt');
|
||||||
|
const f8 = repoFile('android-app/app/src/main/java/com/korexlabs/dhinspeccion/ui/F8VisitRoot.kt');
|
||||||
|
|
||||||
assert.match(gate, /DhTheme \{/);
|
assert.match(gate, /DhTheme \{/);
|
||||||
assert.match(gate, /model\.visit != null -> ModernVisitRoot\(model\)/);
|
assert.match(gate, /model\.visit != null -> F8VisitRoot\(model\)/);
|
||||||
assert.match(theme, /RoundedCornerShape\(16\.dp\)/);
|
assert.match(theme, /RoundedCornerShape\(16\.dp\)/);
|
||||||
|
assert.match(f8, /Recorrido sugerido/);
|
||||||
|
assert.match(f8, /Nueva Acta/);
|
||||||
|
assert.match(f8, /Crear hallazgo/);
|
||||||
|
assert.doesNotMatch(f8, /Inventario de campo/);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('F6.4 Android Act list uses a mobile read model independent from office reports', () => {
|
test('F6.4 Android Act list uses a mobile read model independent from office reports', () => {
|
||||||
@@ -40,4 +45,4 @@ test('F6.4 Android Act list uses a mobile read model independent from office rep
|
|||||||
assert.match(service, /FROM inspection_acts act/);
|
assert.match(service, /FROM inspection_acts act/);
|
||||||
assert.doesNotMatch(service, /inspection_reports/);
|
assert.doesNotMatch(service, /inspection_reports/);
|
||||||
assert.doesNotMatch(service, /inspection_document/);
|
assert.doesNotMatch(service, /inspection_document/);
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user