Skip to content

Commit

Permalink
Move cluster management to top of global apps (#10688)
Browse files Browse the repository at this point in the history
* Move cluster management to top of global apps

* Add e2e test tags

* Fix lint issue
  • Loading branch information
nwmac committed Mar 27, 2024
1 parent 47ff3dd commit 44757ef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cypress/e2e/tests/navigation/side-nav/main-side-menu.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,12 @@ describe('Side Menu: main', () => {
});
});
});

it('Check first item in global section is Cluster Management', { tags: ['@navigation', '@adminUser', '@standardUser'] }, () => {
HomePagePo.goTo();
BurgerMenuPo.categoryByLabel('Global Apps').parent().parent().get('.option-link')
.first()
.should('contain.text', 'Cluster Management');
});
});
});
1 change: 1 addition & 0 deletions shell/config/product/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export function init(store) {
icon: 'cluster-management',
removable: false,
showClusterSwitcher: false,
weight: -1, // Place at the top
to: {
name: 'c-cluster-product-resource',
params: {
Expand Down

0 comments on commit 44757ef

Please sign in to comment.