The notification list has two notifications, each with a Delete button. Your job is to click both buttons.
Clicking a single button is not enough. To act on all matching elements, select each one individually using .nth(), .first(), .last(), or use the .first() + .last() combination.
page is ready. Each button has its own id and data-testid — you can also target them directly.
Two valid approaches:
.nth(0)+.nth(1), or.first()+.last(). Two separate clicks via directidalso work.