I'll help you test this webpage. Let me start by taking a screenshot to see what we're working with.
Screenshot
Good! I can see a rating interface for a "Premium Coffee Maker" product. There are 5 stars displayed in gray, a text saying "Click on a star to rate", a message showing "No rating saved yet", and a "Submit Rating" button at the bottom.
Now I'll follow the instructions:
**Step 1: Click on the 3rd star**
Screenshot
Perfect! I clicked on the 3rd star and now I can see the first 3 stars are highlighted in yellow/gold color, while the 4th and 5th stars remain gray. The message still shows "No rating saved yet" which is expected since I haven't submitted yet.
**Step 2: Click "Submit Rating"**
Screenshot
Excellent! After clicking "Submit Rating", the saved rating message now shows "Rating saved: 3 stars" in blue text. The 3 stars remain highlighted in yellow. This confirms that the rating was successfully saved.
**Step 3: Verify that the saved rating shows "3 stars"** ✓ VERIFIED
Now I need to proceed with the second part of the task:
**Step 4: Click on the 1st star**
Screenshot
Good! I clicked on the 1st star and now only the first star is highlighted in yellow, while the other 4 stars are gray. The saved rating still shows "Rating saved: 3 stars" because I haven't submitted the new rating yet.
**Step 5: Click "Submit Rating"**
Screenshot
Perfect! After clicking "Submit Rating", the saved rating message now shows "Rating saved: 1 star" in blue text. Only the first star is highlighted in yellow, and the remaining 4 stars are gray.
**Step 6: Verify that the saved rating shows "1 star"** ✓ VERIFIED
## Summary of Test Results:
1. ✓ Clicked on the 3rd star - correctly highlighted 3 stars
2. ✓ Clicked "Submit Rating" - rating was saved
3. ✓ Verified saved rating shows "3 stars" - correct
4. ✓ Clicked on the 1st star - correctly highlighted 1 star
5. ✓ Clicked "Submit Rating" - rating was updated
6. ✓ Verified saved rating shows "1 star" - correct
The rating system works as expected:
- Stars are properly highlighted when clicked
- The Submit Rating button successfully saves the rating
- The saved rating message correctly displays the number of stars (with proper singular/plural form: "3 stars" vs "1 star")
- The rating can be updated by selecting a different number of stars and submitting again
<answer>PASS</answer>