Skip to content

assert top two results have the same properties #73

Description

@missinglink

I am trying to assert that two sections of a road are returned as the top two results, it seems like the current assertion schema doesn't support this sort of thing?

{
      "id": 2,
      "status": "pass",
      "user": "missinglink",
      "description": "road segement divided in the middle by a park",
      "notes": [
        "there should be two records, returned as result 1 & 2",
        "the testing framework doesn't support this type of test"
      ],
      "in": {
        "sources": "osm",
        "layers": "street",
        "text": "grolmanstr, berlin"
      },
      "expected": {
        "coordinates": [ 13.324042, 52.503915 ],
        "properties": [
          {
            "country_a": "DEU",
            "name": "Grolmanstraße",
            "street": "Grolmanstraße",
            "layer": "street"
          },{
            "country_a": "DEU",
            "name": "Grolmanstraße",
            "street": "Grolmanstraße",
            "layer": "street"
          }
        ]
      }
    }

adding additional duplicate blocks has no effect on the pass/fail of the test

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions