Internal acceptance testing - SuperTurban/ekm_mobiilposm2ng GitHub Wiki

Going to the WEBPAGE https://ekmweb.herokuapp.com/#/ and logging in. Logging in works for the created user. Clicking "Logi välja" (upper right corner of the webpage) logs out from the page.

UC-1:

After logging in, the user is in "Mängud" tab.

Clicking on "Uus rada", opens a view to add a new game, where title, description, and destination points can be created. Also, there you can change whether the game is active or non-active (users see it in mobile app or not) and what colour the pins of destination points are on the map in mobile app.

Saving a new game (pressing "Salvesta") without any input gives an error -- the user has to insert at least a title.

Clicking on "Tühista" button, takes to the main view.

After inserting a title (allows to insert an excisting title), the game can be created by pressing "Salvesta".

Adding a description and saving again notices user that it has been changed ("Muudetud")

Changing the title and clicking "Salvesta", changes it on that view but left list changes only, if the tab is changed and gone back to "Mängud" tab.

Adding destination points ("lisa pinktid" textbox) and clicking "Salvesta", adds the destination points.

Deleting the game, by clicking to the red cross next to, removes it from the list, when going to another tab, everything is deleted and it is the same state as before logging in.

UC-2:

Changing to tab "Mängude sihtkohad", has a button to add new destination points "Uus punkt" and a list of previously added points.

Clicking on "Uus punkt", directs to a new view, where a new destination point can be added. Name, description, information (prompted after arriving at the destination), coordinated (chosen by clicking on the map), media files and a question either with a certain answer, with three multiple choice answers, or with a creative answer can be added.

Clicking "Salvesta" gives an error that name (allows to insert even an existing name), description and coordinates have to be given.

Adding the title, description and coordinates and clicking "Salvesta", adds a new point.

Clicking "Tühista" directs back to the main view of the tab.

Opening the just added point again, by clicking on it on the list on the left, makes it possible to change it. Changing any values and pressing "Salvesta", makes the changes. Adding media file works and adding a question works.

Deleting a point (clicking "X" nest to the name) removes the point from the list and from all the created games, that it was added to.

Opening the mobileapp for the first time, asks the user to register (insert username and email, and notices that the user accepts the terms and conditions). From "Seaded", "Eemalda konto" button is seen, which lets user to log out

UC-3:

After logging in, the main view of the map is seen (after registering while the app is reopened, it shows the main view directly).

A drop-down list in the upper right corner (an arrow pointing down) is empty, as no games are chosen

Clicking on a menu button on the upper left corner opens a sidebar, where "Mängud" button can be clicked.

"Mängud" button opens a list of games with its title, short description, and view on the map, that gives an overview of the destination points.

Games can be chosen, by clicking on "MÄNGI" button which directs to the main view and showing the destination points on the map.

Clicking on a destination point on the map shows the name of the point and a short description.

Choosing another game to join (from sidebar "Mängud" and choosing another game by pressing "MÄNGI") again directs to the main view of the map, showing the points of a last chosen game.

The dropdown list on the upper right corner now has a list of chosen games, clicking on one, changes the active game and shows the points of that game.

UC-4:

User has previously chosen games and approaches a destination. When in 25 m radius, a prompt opens with a text and a question.