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> |
 
  33     Scenario Outline: Details via unknown OSM id
 
  34         When sending details query for <object>
 
  35         Then a HTTP 404 is returned
 
  41       | N300209696:highway |
 
  44      Scenario: Details for interpolation way return the interpolation
 
  45         When sending details query for W1
 
  46         Then the result is valid json
 
  48             | category | type   | osm_type | osm_id | admin_level |
 
  49             | place    | houses | W        | 1      | 15          |
 
  53      Scenario: Details for interpolation way return the interpolation
 
  54         When sending details query for 112871
 
  55         Then the result is valid json
 
  57             | category | type   | admin_level |
 
  58             | place    | houses | 15          |
 
  59         And result has not attributes osm_type,osm_id
 
  63      Scenario: Details for interpolation way return the interpolation
 
  64         When sending details query for 112820
 
  65         Then the result is valid json
 
  67             | category | type     | admin_level |
 
  68             | place    | postcode | 15          |
 
  69         And result has not attributes osm_type,osm_id
 
  72     Scenario Outline: Details debug output returns no errors
 
  73         When sending debug details query for <feature>
 
  74         Then the result is valid html