Skip to content
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"
}
]
}
}
]
}