Skip to content

Instantly share code, notes, and snippets.

@danmoran-pro
Last active April 6, 2020 22:18
Show Gist options
  • Save danmoran-pro/165bbf0f154fc3c02f4165d0dae36a91 to your computer and use it in GitHub Desktop.
Save danmoran-pro/165bbf0f154fc3c02f4165d0dae36a91 to your computer and use it in GitHub Desktop.

Login

  • As a user
  • When I visit welcome page
  • I see a section that says log in with facebook
  • then I am redirected to the search page.
  • and can see I have logged in

Search page

  • As a registered user
  • When I visit the search page
  • I see a map
  • With top "X" Bathroooms sortaed by nearest.
  • Along with a section the for searching params
  • miles from location
  • advance search button

Advanced search

  • as a registed user
  • when I click on advace search
  • I see a pop-up window with search options
  • When I update form and submitt
  • it renders updated search query

Show page

  • as a registered user
  • when I click on a result
  • I see a pop up window with additional bathroom information
  • The bottom of the window has two buttons
  • review
  • directions

Directions

  • as a registered user
  • from the bathroom's show page
  • when I click on directions
  • I am redirected to google maps directions

Review

  • From the bathroom showpage
  • I see a link to leave a review;
  • I am directed to the review form
  • I see params for leaving review
  • when I click submit
  • I see a flash message stating that I have left a review
  • I am redirected back to my homepage

Nav bar

  • logo
  • profile name
  • logout/login/register
  • create new bathroom

Creating a new Bathroom form

  • Current location
  • see form for params
  • when I click sumbit
  • I see a flash message
  • I am redireted to homepage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment