Skip to content

Test plan — Events admin list / dashboard improvements

Base: origin/master
Related plan: events-admin-dashboard-autoplan.md

Codepaths to cover

Flow / branch Location Test type Exists? Gap / action
Initial load future + past EventsListController.loadEvents Manual or E2E (Selenium per repo pattern) Partial Add assertion both sections load, IsLoading clears
Category filter resets and reloads onCategoryChange Manual / E2E Likely manual only Automate: select category, assert API params
Load more + category loadMore / loadMorePast vs loadEvents Unit or E2E Gap getEventsFuture/Past omit categoryId on continuation — fix first, then regression test
URL ?name= filter $watch on $location.search().name E2E Unclear Add test: navigate with query, expect filtered list
Empty state (no events) events-list.html Visual / E2E Manual Assert CTA to create
Empty filtered (category, no results) EventsList-emptyFiltered E2E Gap Assert copy
Error path API fail catch on load Gap No user-visible error in template After UX work, assert toast or inline error
Clone event cloneEvent E2E Manual Keep in checklist
alert('no token') branches loadMore when no continuation Bug Should not ship user-facing alert Replace + test

Suggested suites

  • UI-only changes: scripts/dev/build-fast.ps1 for bundled scripts if touched; manual QA on admin Events list.
  • API contract change: integration tests for EventsResourceApi if backend changes.

Sign-off

  • [ ] Category + load-more consistency verified after fix
  • [ ] No new console-only error paths without UI feedback