Clear the unread notifications badge
- Dropdown panels
- Badges
- Attribute selectors
A professional network: a 3-step sign-up wizard, a feed with likes, comments and lazy-loaded posts, a notifications dropdown, a messaging drawer with auto-replies, job search with filters and a multi-step Easy Apply modal, member profiles with connect/withdraw, a skills tag input and company pages that open a careers site in a new tab.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Open the notifications dropdown, verify it lists the unread notifications, mark them all as read and verify the unread badge disappears.
Your Task
- 1Open TEST_URL (you are already signed in) and assert the badge #notifications-badge shows 3.
- 2Click the bell (#notifications-button) and wait for the dropdown #notifications-panel.
- 3Assert it lists 5 notifications ([data-testid="notification"]), 3 of them with data-unread="true".
- 4Click “Mark all as read” (#mark-all-read).
- 5Assert #notifications-status reads “You're all caught up”, no notification is unread and the badge is gone. Leave the dropdown open.
Validation Checks
- The dropdown is open and says you're all caught up.
- No notification is marked unread.
- The unread badge is no longer shown.
- The test makes at least two assertions.
Fixtures
- alex@connectin.test
- Password
- Connect@2026
- Account name
- Alex Morgan
- Password rules
- 8+ characters with an uppercase letter, a number and a special character
- Locations
- Bengaluru, India · Berlin, Germany · London, UK · New York, US · Toronto, Canada
- Featured company
- Northwind Labs (#/company/northwind-labs)
Cloud Execution & Grading Guide
This Easy Selenium Challenges exercise runs inside TargetQA's managed cloud sandbox using Selenium WebDriver 4 (Java, Python, C#). Every submission runs inside an isolated headless Chromium container with pre-synced drivers, capturing live console logs, DOM assertions, and a 720p step-by-step video replay.
- Supported stacks: Java (Selenium 4 + JUnit 5) · Python (Selenium 4 + pytest) · C# (Selenium 4 + NUnit)
- Zero local setup: Use the pre-declared
TEST_URLvariable so your script targets the live ConnectIn sandbox reliably without hardcoding hosts. - Automated grading: Click Run to inspect step logs and behavior, then click Submit to validate all 4 acceptance checks and earn 25 points.
Selenium WebDriver 4 · Selenium Challenges Practice Track · ConnectIn