fix(web): render operational map as GPS points
DH V2 CI / API · typecheck, tests, build (push) Successful in 40s
Production dependency audit / API · production dependencies (push) Successful in 9s
Production dependency audit / WEB · production dependencies (push) Successful in 9s
DH V2 CI / WEB · typecheck, build (push) Successful in 1m38s
DH V2 CI / Docker / migrations / production images (push) Successful in 1m55s
DH V2 CI / Promote verified main to deploy (push) Successful in 4s
Android CI / RC / Android · lint, tests, debug APK, release compile (push) Successful in 4m24s
DH V2 CI / API · typecheck, tests, build (push) Successful in 40s
Production dependency audit / API · production dependencies (push) Successful in 9s
Production dependency audit / WEB · production dependencies (push) Successful in 9s
DH V2 CI / WEB · typecheck, build (push) Successful in 1m38s
DH V2 CI / Docker / migrations / production images (push) Successful in 1m55s
DH V2 CI / Promote verified main to deploy (push) Successful in 4s
Android CI / RC / Android · lint, tests, debug APK, release compile (push) Successful in 4m24s
This commit is contained in:
@@ -37,7 +37,7 @@ test('F6.15 Acta uses real report workflow state instead of legacy generated PDF
|
||||
assert.match(list, /act\.report\.status === 'OFFICIALIZED'/);
|
||||
});
|
||||
|
||||
test('F6.15 map exposes filtered operational layers without inventing coordinates', () => {
|
||||
test('F6.16 map renders operational locations as GPS point markers without filters', () => {
|
||||
const controller = api('src/asset-master/asset-geometries.controller.ts');
|
||||
const service = api('src/asset-master/asset-geometries.service.ts');
|
||||
const page = web('pages/MapPage.tsx');
|
||||
@@ -51,10 +51,16 @@ test('F6.15 map exposes filtered operational layers without inventing coordinate
|
||||
assert.match(service, new RegExp(`'${kind}'::text`));
|
||||
assert.match(page, new RegExp(`${kind}:`));
|
||||
}
|
||||
assert.match(page, /Buscar Yacimiento, Empresa, Acta, Hallazgo/);
|
||||
assert.match(page, /sourceGeometries/);
|
||||
assert.match(map, /yacimiento-points/);
|
||||
assert.match(map, /company-points/);
|
||||
assert.match(map, /act-points/);
|
||||
assert.match(map, /finding-points/);
|
||||
assert.match(page, /punto\{data\.meta\.count === 1 \? '' : 's'\} GPS/);
|
||||
assert.match(page, /feature\.geometry\.type\.toLowerCase\(\) === 'point'/);
|
||||
assert.match(page, /map-legend/);
|
||||
assert.doesNotMatch(page, /SearchableSelect/);
|
||||
assert.doesNotMatch(page, /mapSearch/);
|
||||
assert.doesNotMatch(page, /toggleLayer/);
|
||||
assert.match(map, /new Marker/);
|
||||
assert.match(map, /pointCoordinates/);
|
||||
assert.match(map, /visualOffsets/);
|
||||
assert.match(map, /fitToPoints/);
|
||||
assert.doesNotMatch(map, /addSource\('assets'/);
|
||||
assert.doesNotMatch(map, /addLayer\(/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user