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

[SD-403] Map search banner component build #1386

Closed
wants to merge 1 commit into from
Closed
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
feat(@dpc-sdp/ripple-tide-landing-page): ✨ new component build
  • Loading branch information
waitingallday committed Nov 20, 2024
commit 187bf3ace913072188ba3170c05d3808a0b5e273
2 changes: 2 additions & 0 deletions examples/nuxt-app/layers/fixture-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ No backend is needed, the API is stubbed with flat file json fixtures (also used
2. [_fixture/tide-site](http://localhost:3000/_fixture/tide-site) Fixtures page content, but uses back end for site content

3. [_fixture/page-exposed](http://localhost:3000/_fixture/page-exposed) Fixtures both page and site content, expose all layout slots

4. [_fixture/document](http://localhost:3000/_fixture/document) Edge case example for cheerio rendering
Binary file added examples/nuxt-app/public/placeholders/mapbg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions examples/nuxt-app/test/features/maps/map-search-banner.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Feature: Map search banner

Build test

Background:
Given the site endpoint returns fixture "/site/reference" with status 200

@mockserver
Example: Map search banner (desktop)
Given the page endpoint for path "/map" returns fixture "/maps/example-map-search-banner" with status 200
And I am using a "macbook-16" device
Then I visit the page "/map"

@mockserver
Example: Map search banner (mobile)
Given the page endpoint for path "/map" returns fixture "/maps/example-map-search-banner" with status 200
And I am using a "iphone-x" device
Then I visit the page "/map"
Loading