Skip to content

test(main-page): drop assertions for the removed empty-state headline - #2388

Closed
uuzzrm wants to merge 1 commit into
felladrin:mainfrom
uuzzrm:fix/mainpage-test-remove-stale-headline-assertions
Closed

test(main-page): drop assertions for the removed empty-state headline#2388
uuzzrm wants to merge 1 commit into
felladrin:mainfrom
uuzzrm:fix/mainpage-test-remove-stale-headline-assertions

Conversation

@uuzzrm

@uuzzrm uuzzrm commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

What & why

Commit 48267e53 ("Remove unnecessary headline") removed the visible value-proposition text ("Private AI search: answers with sources, on your own instance.") from the MainPage empty state, but left the two tests asserting it behind. They have been failing on every PR since (the text only ever existed in the test itself), including the current IME fix PR #2385 and the eval PR #2382.

The remaining value proposition is the visually-hidden h1 ("MiniSearch — Private AI search with sources"), which is already covered by the "renders a visually-hidden h1" test in this same file.

Test plan

npx vitest run client/components/Pages/Main/MainPage.test.tsx
Test Files  1 passed (1)
     Tests  12 passed (12)

Removed 2 obsolete assertions; the 12 remaining tests all pass.

48267e5 ("Remove unnecessary headline") removed the visible value-proposition
text ("Private AI search: answers with sources, on your own instance.") from
the MainPage empty state, but left the two tests asserting it behind -- they
have been failing on every PR since, since the text only ever existed in the
test itself. The remaining value proposition is the visually-hidden h1, which
is already covered by the "renders a visually-hidden h1" test in this file.

Signed-off-by: uuzzrm <uuzzrm@users.noreply.github.com>
@uuzzrm

uuzzrm commented Aug 15, 2026

Copy link
Copy Markdown
Contributor Author

Duplicate of #2386 (same change, same removal commit) — closing this one to keep the account's PRs unambiguous. #2386 has the same diff and is already green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant