Skip to content

Commit 6887a37

Browse files
committed
fix: tests
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
1 parent 352d0cc commit 6887a37

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

core/src/tests/components/AppMenu.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ describe('core: AppMenu', () => {
191191
})
192192
const wrapper = mount(AppMenu, { attachTo: document.body })
193193
expect(wrapper.find('.app-menu__current-app').exists()).toBe(true)
194-
expect(wrapper.find('.app-menu__current-app-name').text()).toBe('Administration settings')
194+
// Settings sub-section names are collapsed to a single "Settings" label.
195+
expect(wrapper.find('.app-menu__current-app-name').text()).toBe('Settings')
195196
})
196197

197198
it('prefers the active app over a settings entry when both are marked active', () => {

0 commit comments

Comments
 (0)