3 Feature: Object details
 
   4     Check details page for correctness
 
   6     Scenario Outline: Details via OSM id
 
   7         When sending details query for <type><id>
 
   8         Then the result is valid json
 
  20     Scenario Outline: Details for different class types for the same OSM id
 
  21         When sending details query for N300209696:<class>
 
  22         Then the result is valid json
 
  24           | osm_type | osm_id    | category |
 
  25           | N        | 300209696 | <class> |
 
  34     Scenario Outline: Details via unknown OSM id
 
  35         When sending details query for <object>
 
  36         Then a HTTP 404 is returned
 
  42       | N300209696:highway |
 
  45      Scenario: Details for interpolation way return the interpolation
 
  46         When sending details query for W1
 
  47         Then the result is valid json
 
  49             | category | type   | osm_type | osm_id | admin_level |
 
  50             | place    | houses | W        | 1      | 15          |
 
  54      Scenario: Details for interpolation way return the interpolation
 
  55         When sending details query for 112871
 
  56         Then the result is valid json
 
  58             | category | type   | admin_level |
 
  59             | place    | houses | 15          |
 
  60         And result has not attributes osm_type,osm_id
 
  64      Scenario: Details for interpolation way return the interpolation
 
  65         When sending details query for 112820
 
  66         Then the result is valid json
 
  68             | category | type     | admin_level |
 
  69             | place    | postcode | 15          |
 
  70         And result has not attributes osm_type,osm_id
 
  73     Scenario Outline: Details debug output returns no errors
 
  74         When sending debug details query for <feature>
 
  75         Then the result is valid html