diff --git a/src/behaviours/add-cluster/__snapshots__/navigation-using-application-menu.test.ts.snap b/src/behaviours/add-cluster/__snapshots__/navigation-using-application-menu.test.ts.snap index 4c1203829a..d19612eac3 100644 --- a/src/behaviours/add-cluster/__snapshots__/navigation-using-application-menu.test.ts.snap +++ b/src/behaviours/add-cluster/__snapshots__/navigation-using-application-menu.test.ts.snap @@ -19,7 +19,7 @@ exports[`add-cluster - navigation using application menu when navigating to add Add Clusters from Kubeconfig

- Clusters added here are + Clusters added here are not @@ -27,16 +27,14 @@ exports[`add-cluster - navigation using application menu when navigating to add ~/.kube/config - file. - + file. - Read more about adding clusters + Read more about adding clusters. - .

void | Promise; @@ -153,7 +152,15 @@ export const getApplicationBuilder = () => { ); } - menuItem.click?.(new MenuItem(menuItem), undefined, {}); + menuItem.click?.( + { + menu: null as never, + commandId: 0, + ...menuItem, + } as MenuItem, + undefined, + {}, + ); }, },