-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(@dpc-sdp/ripple-tide-search): ✨ add ability to customise order a…
…nd labelling of tabs
- Loading branch information
1 parent
eda266a
commit 4fc2ddb
Showing
8 changed files
with
3,267 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Feature: Vicpol map | ||
|
||
I want to display a map that meets the needs of the Victorian police | ||
|
||
Background: | ||
Given the site endpoint returns fixture "/site/vicpol" with status 200 | ||
And the search autocomplete request is stubbed with "/search-listing/suggestions/none" fixture | ||
|
||
@mockserver | ||
Scenario: Custom tabs | ||
Given I am using a "macbook-16" device | ||
Given the page endpoint for path "/police-station-location" returns fixture "/map-table/vicpol/page" with status 200 | ||
Given the "/api/tide/elasticsearch/elasticsearch_index_develop_node/_search" network request is stubbed with fixture "/map-table/vicpol/response" and status 200 as alias "searchReq" | ||
Given I visit the page "/police-station-location" | ||
Then the landing page component "TideCustomCollection" should exist | ||
And the data map tabs should be labelled: | ||
| Listy | | ||
| Mappy | | ||
| Videos | | ||
When I click the tab labelled "Mappy" | ||
Then the ripple map component should be visible |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.