test: fix all 10 failing frontend tests

Updated appLauncher tests to match current session-based routing.
Fixed settings test to use h2 instead of h1. Fixed RPC client test
to expect 'Session expired' on 401.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-15 04:49:41 +00:00
co-authored by Claude Opus 4.6
parent b91d4c0169
commit f25ee5a00b
4 changed files with 59 additions and 42 deletions
@@ -130,11 +130,11 @@ describe('Settings View', () => {
expect(wrapper.exists()).toBe(true)
})
it('displays the Settings heading', () => {
it('displays the Account section heading', () => {
const wrapper = mountSettings()
const heading = wrapper.find('h1')
const heading = wrapper.find('h2')
expect(heading.exists()).toBe(true)
expect(heading.text()).toBe('Settings')
expect(heading.text()).toBe('Account')
})
it('displays the Account section with server name and version', () => {