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

Rate #12

Open
acarolinacc opened this issue Mar 15, 2023 · 0 comments
Open

Rate #12

acarolinacc opened this issue Mar 15, 2023 · 0 comments

Comments

@acarolinacc
Copy link
Collaborator

acarolinacc commented Mar 15, 2023

Description

As a user of the restaurant recommendation app, I want to be able to rate the restaurants I have visited, so that I can share my experience with others and help them make better dining decisions.

Mockup

image

image

Acceptance Tests

Scenario 1: Successful restaurant rating
Given that a user is on the restaurant profile page
And the user has not previously rated the restaurant
When the user selects a rating from 1 to 5
Then the user's rating should be saved for that restaurant

Scenario 2: Updating restaurant rating
Given that the user is on the restaurant profile page
And the user has previously rated the restaurant
When the user selects a new rating from 1 to 5
Then the user's rating should be updated for that restaurant

Scenario 3: Viewing restaurant rating
Given that the user is on the restaurant profile page
When the user scrolls down to the rating section
Then the user should be able to view the average rating and the number of ratings for that restaurant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants