Skip to content
Pedro Andrade edited this page Nov 23, 2017 · 17 revisions

Visual Tests

This document describes the visual tests for publish package. It uses some applications available within the package, therefore create them before executing the tests.

Arapiuns Application

Test procedure Expected results
Open application An initial pop-up with the description of the application will be shown.
Press Ok Arapiuns application will be shown with two Layers: Trajectory and Villages. The Trajectory will be selected and a moving arrow is shown in the screen along the Trajectory's line. Villages are shown as houses or trees.
Click in Villages Legend with two symbols will be shown for the villages.
Click in Download Data will be downloaded in a zip format.
Open the zip file into a GIS The same data of the application will be displayed.

Brazil Application

Test procedure Expected results
Open application An initial pop-up with the description of the application will be shown.
Press Ok Brazil application will be shown with three boxes in the left side. From top to bottom, the first one has two Layers, states and biomes. Biomes will be selected, with a blue box around it. There is one checkbox for each Layer, and there is no intersection between the checkbox and the layer name or the box around the selected layer. The description of biomes is shown in the second box. A legend with each of the six biomes is shown in a third box. In the map, the biomes will be shown with the same colors as defined in the legend. The states are also shown.
Uncheck Layer Biomes The biomes will no longer be shown. Only the states now are shown in yellow.
Click in States The Second box will be updated to the description of states and the legend will have only one value: yellow.
Uncheck Layer States No additional map will be shown on top of Google Maps data.
Check the biomes again Biomes will be shown, together with their description and legend.
Click in a biome A small pop-up will be shown with a photo of the biome and a wikipedia link.
Click in the link A wikipedia webpage will be opened in a new tab with a page related to the biome.
Close the new tab and then press Close The biomes will be shown again.

Caragua Application

Test procedure Expected results
Open application An initial pop-up with the description of the application will be shown.
Press Ok Caragua application will be shown. There are five Layers, grouped into three items: Border, Occupational Classes, and Social Classes. Three Layers are selected: Regions, Occupational Classes 2010, and Social Classes 2025.
Click in the checkbox of Regions The Regions will be displayed and the checkbox of Limit will be unchecked.

Vegetation Application

Test procedure Expected results
Open application An initial pop-up with the description of the application will be shown.
Press Ok. An application covering Brazil will be shown. There are several polygons created from pixels. The legend has seven colors.

WMS Application

Test procedure Expected results
Open application An initial pop-up with the description of the application will be shown.
Press Ok An application with a Map of Brazilian municipalities will be shown. It has only one Layer and three colors in the Legend.
Click in the button to zoom in The map will be updated with a better resolution.
Click in the button to zoom in again The map will be updated with a better resolution again.
Unselect the WMS checkbox Only Google Maps data will be shown.
Select the checkbox again Brazilian cities will be shown again.

Itens que nao funcionam nos testes

(Pode ser que existam erros adicionais)

Firefox

  • Não é possível desmarcar um layer. Toda vez que o checkbox recebe um clique, funciona como se o usuario estivesse clicado no nome do layer.

Google Chrome

  • Não mostra os mapas, mostra apenas as caixas laterais, e funcionam de forma correta.

Safari

  • O checkbox dos Layers é muito grande, e por isto tem sobreposição tanto com a caixa ao redor do layer quanto com o nome dos layers. A aplicação Brazil não mostra o mapa no Chrome.
  • Os biomas estao sendo mostrados usando apenas uma cor, e nao coloridos como esta na legenda.
  • O clique do mouse não funciona sobre os biomas (nao abre janela pop-up com a descricao deles).
Clone this wiki locally