Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

TC 03: New project #3

Open
jozefbudac opened this issue Apr 30, 2021 · 0 comments
Open

TC 03: New project #3

jozefbudac opened this issue Apr 30, 2021 · 0 comments

Comments

@jozefbudac
Copy link

jozefbudac commented Apr 30, 2021

Goals

Ensure that user can create new project from demo project, existing project opened in QGIS or complete QGIS project stored somewhere else

Prerequisites

  • QGIS with mergin plugin and logged in user.

Test A - create new basic project

A1: right click on the mergin in Browser window. In the menu hit Create new project. New window appears:

Note: same windows should appear when clicking on the icon in the toolbar (with +sign)

A2: Hit New basic QGIS project

A3: on next window user "plugin_project" as project name.

A4: hit 3 dots in the right of project location and choose different location.

A5: hit Finish. Successful notification should appear.

A6: Check that

  • project is now opened in QGIS
  • new "plugin_project" is visible between the My projects in mergin plugin
  • this project have folder icon
  • other projects have cloud icon
  • the directory with project in available locally in the location used in step A4
  • the project exist on mergin server also.

Test B - create public project

B1: use the same steps as in Test A but check the Make the project public checkbox.

B2: check that project exists in mergin with "Public" mark on it.


Test C - create project from existing QGIS project

C1: download this project and unzip it locally:
plugin_local_project.zip

C2: in QGIS go to Project -> Open and choose downloaded project.

C3: go to creating new project in mergin. Now Package current QGIS project should be active now. Hit it.

C4: go through the wizard and create new project with name "plugin_local_project".

C5: new project should be now available in browser of QGIS and also on mergin portal.


Test D - create project by "Use current QGIS project as is"

D1: download layer_import project and open it in QGIS
layer_import.zip

D2: in QGIS go to Project -> Open and choose downloaded project.

D3: go to creating new project in mergin. Now Use current QGIS project as is should be active now. Hit it.

D4: go through the wizard and create new project with name "plugin_project2". Don't change location of new project

D5: new project should be now available in browser of QGIS and also on mergin portal.


Test E - importing of layers

E1: download layer_import project and open it in QGIS (or use already downloaded from previous step)
layer_import.zip

E2: in mergin plugin create new project with "Package current QGIS project" option. This window should appear:

Please verify:

  • all 6 layers are present
  • 3 base maps don't have option for "Package"

E3: check the checkbox Keep as is for "Places" layer. For "Boundary" user Ignore checkbox. For "OSMOnline" use Ignore checkbox.

E4: Hit next, than choose some project name and folder and hit finish.

E5: Now check that:

  • in QGIS and in mergin there is a new project with chosen name
  • In QGIS between layers, only 4 layers are there: Playground, Places, OSMOffline and SateliteOnline
  • Playground layer has its own 'gpkg' file in chosen project directory. Also by hovering over the layer name in Layers panel, you can see that this layer is located in project directory
  • Places layer is still located in directory of unzip project
  • in mergin portal you can see two files: Playgrounds.gpkg and <project_name>.qgz

Test F - open project from shared projects

F1: open Shared with me in mergin plugin

F2: download and open a project. This should be successful.

  • you might have to first create a project on mergin website under second USER and share that project with your current testing profile

Test G - open project from public projects

G1: open Explore in mergin plugin

G2: download a public project. This should be successful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant