datasets / awesome-data

Curated list of quality open datasets
https://datahub.io/collections
774 stars 98 forks source link

Script for checking if a package is working on DataHub website #220

Closed Mikanebu closed 6 years ago

Mikanebu commented 7 years ago

At the moment, we are checking if a package works on the website, which is time-consuming and not efficient. We want to have a script that will test each package on the website by doing curl probably:

checking number of resources displayed in the package summary in the top of the page (e.g., for co2-ppm it must be 6, see https://testing.datahub.io/core/co2-ppm) (?) we may need to check if views working by checking for canvas element (in case if datapackage has views property) first need analysis (?) we may need to check for handsontable tables (by class name) (in case if there is a tabular data in resources) also need ananlysis (?) we may need to check for leafletmap element (in case if there is geojson file in resources) also need ananlysis

Mikanebu commented 6 years ago

FIXED, script to test frontend functionality is created https://github.com/datahq/frontend-functional-tests. It checks for graphs, preview tables