Test — Activity Filters + Cache + Refresh
Name Filter
Select element with id="activity-name-filter" present in HTMLPASS
filterActivityByName global function definedPASS
populateNameFilter builds options from unique author namesPASS
Filtered count shows "N of M comments" formatPASS
Cache
loadActivity returns cached data when loaded && allComments.lengthPASS
nameFilter variable tracks selected authorPASS
Fetching guard prevents concurrent requestsPASS
Refresh
Refresh button with id="activity-refresh" presentPASS
refreshActivity global function definedPASS
Styling
Select dropdown CSS (custom arrow, hover/focus states)PASS
Refresh button CSS (.refresh-btn with hover state)PASS
Right controls flex wrapper groups filter + sort + refreshPASS