fix: tests

Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
Peter Ringelmann 2026-06-01 14:13:26 +02:00
parent b7dda0cc0d
commit 8d5cfb37e8
3 changed files with 5 additions and 4 deletions

View file

@ -191,7 +191,8 @@ describe('core: AppMenu', () => {
})
const wrapper = mount(AppMenu, { attachTo: document.body })
expect(wrapper.find('.app-menu__current-app').exists()).toBe(true)
expect(wrapper.find('.app-menu__current-app-name').text()).toBe('Administration settings')
// Settings sub-section names are collapsed to a single "Settings" label.
expect(wrapper.find('.app-menu__current-app-name').text()).toBe('Settings')
})
it('prefers the active app over a settings entry when both are marked active', () => {

4
dist/core-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long