I'll help you test this webpage by following the instructions step by step. Let me start by taking a screenshot to see the current state of the page.
Screenshot
I can see a grocery checklist webpage with:
- A title "Grocery Checklist" with a shopping cart icon
- A "Select All" button (visible in blue)
- Five grocery items with checkboxes: Milk, Bread, Eggs, Cheese, and Apples
- All checkboxes are currently unchecked
Now I'll follow the instructions:
Step 1: Click the "Select All" button to check all grocery items.
Screenshot
Perfect! After clicking "Select All", I can see that:
- The button has changed from "Select All" to "Deselect All"
- All five grocery items (Milk, Bread, Eggs, Cheese, Apples) now have checked checkboxes
- Each checkbox shows a blue checkmark
Step 2: Click the "Deselect All" button to uncheck all grocery items.
Screenshot
Excellent! After clicking "Deselect All", I can verify:
Step 3: Verify that all grocery items are unchecked.
I can confirm that:
- The button has changed back to "Select All"
- All five grocery items (Milk, Bread, Eggs, Cheese, Apples) now have empty/unchecked checkboxes
- All checkboxes are in their unchecked state
The webpage behaved exactly as expected:
1. The "Select All" button successfully checked all grocery items
2. The button text changed to "Deselect All" when items were selected
3. The "Deselect All" button successfully unchecked all grocery items
4. The button text changed back to "Select All" when items were deselected
5. All visual elements worked properly with no inconsistencies
<answer>PASS</answer>