Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test cases for buildings which have a vanity address #533

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions test_cases/autocomplete_vanity_addresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"name": "Vanity Addresses",
"priorityThresh": 1,
"endpoint": "autocomplete",
"tests": [
{
"id": 1,
"status": "pass",
"user": "missinglink",
"in": {
"text": "One Embarcadero"
},
"expected": {
"properties": [
{
"region": "California",
"locality": "San Francisco",
"name": "Embarcadero Center 1"
}
]
}
},
{
"id": 2,
"status": "pass",
"user": "missinglink",
"in": {
"text": "One Brooklyn Bridge Park"
},
"expected": {
"properties": [
{
"region": "New York",
"locality": "New York",
"name": "One Brooklyn Bridge Park"
}
]
}
},
{
"id": 3,
"status": "pass",
"user": "missinglink",
"notes": [
"This is the office of the mayor of London",
"it doesn't return 'The Gherkin' for the name",
"because it's not *officially* named that ;)"
],
"in": {
"text": "The Gherkin"
},
"expected": {
"priorityThresh": 2,
"properties": [
{
"region": "Greater London",
"locality": "London",
"name": "30 St Mary Axe"
}
]
}
}
]
}
63 changes: 63 additions & 0 deletions test_cases/search_vanity_addresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"name": "Vanity Addresses",
"priorityThresh": 1,
"endpoint": "search",
"tests": [
{
"id": 1,
"status": "pass",
"user": "missinglink",
"in": {
"text": "One Embarcadero"
},
"expected": {
"properties": [
{
"region": "California",
"locality": "San Francisco",
"name": "Embarcadero Center 1"
}
]
}
},
{
"id": 2,
"status": "pass",
"user": "missinglink",
"in": {
"text": "One Brooklyn Bridge Park"
},
"expected": {
"properties": [
{
"region": "New York",
"locality": "New York",
"name": "One Brooklyn Bridge Park"
}
]
}
},
{
"id": 3,
"status": "pass",
"user": "missinglink",
"notes": [
"This is the office of the mayor of London",
"it doesn't return 'The Gherkin' for the name",
"because it's not *officially* named that ;)"
],
"in": {
"text": "The Gherkin"
},
"expected": {
"properties": [
{
"region": "Greater London",
"locality": "London",
"name": "30 St Mary Axe"
}
]
}
}
]
}