Logo: Relish

  1. Sign in

Project: Cq-tests

Automatically generate the latitude & longitude of a map

  • @tests
  • @test
  • @story
  • @all
  • @wip

As a City by City editor
I want the latitude and longitude for a map item to be automatically generated from the address
So that I can save time

Background
Given
that finding the latitude and longitude for a map item is available through Google Map API
When
an address line and/or zip is specified for a map item within Author
Then
the latitude and longitude is generated from this information
Given
I want to find the latitude and longitude for a map item
When
I edit the map item in Author
Then
there is a button called "find location" next to the latitude and longitude fields
Given
there is a "find location" button when editing a map item
When
I click this button
Then
any data in the fields Address line 1, 2 and 3, and Zip and City is used to generate the latitude and longitude
And
the latitude and longitude are populated in their named fields
Given
that the latitude and longitude have been found and populated
When
either is incorrect
Then
I can manually edit either the latitude or longitude fields
Given
the latitude and longitude for an address cannot be found
When
I click the "find location" button
Then
an error message is shown
Scenarios
TBC

This scenario does not have any steps.


Last published almost 7 years ago by Wez.