This commit is contained in:
@@ -54,6 +54,12 @@ describe('application navigation', () => {
|
||||
}
|
||||
});
|
||||
|
||||
it('gives Super Viewers all administrator destinations and shortcuts', () => {
|
||||
expect(visibleNavigation('super_viewer')).toEqual(visibleNavigation('admin'));
|
||||
expect(navigationLocation('/settings/users', 'super_viewer')?.group.id).toBe('admin');
|
||||
expect(navigationLocation('/server-keys', 'super_viewer')?.item.shortcut).toBe('k');
|
||||
});
|
||||
|
||||
it('groups file releases together and retains Campaigns as its own destination', () => {
|
||||
expect(navigationGroups.map((group) => group.label)).toEqual([
|
||||
'Fleet',
|
||||
|
||||
Reference in New Issue
Block a user