lutraconsulting / input-manual-tests

Test cases and plans for manual Input testing
https://inputapp.io
0 stars 0 forks source link

TC 10: Proj Tests #24

Closed PeterPetrik closed 3 years ago

PeterPetrik commented 3 years ago

Test A - Grid shift when reprojecting

Note: only for InputApp ver. 0.8.0+

A1. Open the app

A2. Go to Explore and download _lutraconsulting\test_gridshift

A3. Go to Home and open _lutraconsulting\test_gridshift

A4. Open the project and pan. The dialog saying you do not have required grid files is shown (note: only when you freshly downloaded the project)

A5. Now, let's check how it works for a project with datum shift definition included. Go to Explore and download _lutraconsulting\test_grid_shift_withproj

A4. Open the project and pan. The dialog saying you do not have required grid files is shown (note: only when you freshly downloaded the project)

A6. Restart the app

A7. Open again the project. It should open a global map (EPSG:3857) reprojected (the map canvas projection) to British National Grid (EPSG:27700)


Test B - Dynamic vs Static CRS

Note: lutraconsulting/test_dynamic_crs uses as Project CRS: EPSG:2056 - CH1903+ / LV95: Static (relies on a datum which is plate-fixed) but background map is EPSG:3857 - WGS 84 / Pseudo-Mercator: Dynamic (relies on a datum which is not plate-fixed) Based on a dynamic CRS, but no coordinate epoch is set. Coordinates are ambiguous and of limited accuracy.

B1. Open the app

B2. Go to Explore and download _lutraconsulting/test_dynamiccrs

B3. Go to Home and open _lutraconsulting/test_dynamiccrs

B4. Open the project and pan. You should see a single red dot (vector layer) and google hybrid WMS raster layer. If you do not see background layer, just black screen or just a red dot, the test fails.


Test C - custom directory for photos

C1: download project input-testing/tc10_custom_photo_directory

Note: right now there is a bug https://github.com/lutraconsulting/input/issues/1611. You need to create 'photos' directory on the phone for this project to work

C2: record a feature

C3: add photo with camera and verify, that photo was successfully stored into "@project_folder + '/picture'" directory on the phone.


Test D - selective sync

https://www.merginmaps.com/docs/components/mobile/selective_sync/

D1: download project input-testing/tc10_selective_sync

D2: open the project and check that Oak and Pine features have pictures in the preview, while Birch, Other and Maple doesn't

D3: check "Local changes". There should be no changes visible

D4: (only on android) add a picture to the photos_a and another to photos_b directory in mergin. Synchronize the project.

D5: (only on android) Check that picture is present in photos_b directory. Directory photos_a remain unchanged

D6: (only on android) add a picture to the photos_a and another to photos_b directory in INPUT. Synchronize the project.

D7: (only on android) Check that pictures are present in correct directories in mergin.

D8: remove mergin-config.json from the project and synchronize the project

D9: open the project and check that all features have pictures in the preview

jozef-budac commented 3 years ago

Old version