Commit fcf2ea4dd4

fcf2ea4dd420a60a6631cdc399e5ddecc4818269

parent: ff759b5394

Verified · cmc ci/build: success ci/test: success

cmc <hello@cleberg.net> · 2026-09-28 22:46 UTC

e2e: the unread list's empty state reads 'no unread notifications'

Ref #270

Layout: unified · split

e2e/searchweb_test.go +1 −1
@@ -91,7 +91,7 @@ func TestGlobalSearchAndNotificationsWeb(t *testing.T) {
91 t.Fatalf("mark all read: %d", status) 91 t.Fatalf("mark all read: %d", status)
92 } 92 }
93 _, body = browserGet(t, browser, inst.base()+"/notifications") 93 _, body = browserGet(t, browser, inst.base()+"/notifications")
94 if !strings.Contains(body, "nothing unread") { 94 if !strings.Contains(body, "no unread notifications") {
95 t.Fatalf("unread list after sweep:\n%s", body) 95 t.Fatalf("unread list after sweep:\n%s", body)
96 } 96 }
97 _, body = browserGet(t, browser, inst.base()+"/notifications?all=1") 97 _, body = browserGet(t, browser, inst.base()+"/notifications?all=1")