[Serverless nav] Remove link to "performance" (#162307)

This commit is contained in:
Sébastien Loix 2023-07-20 13:01:54 +01:00 committed by GitHub
parent b1a3bc559f
commit 607c0b2259
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 34 deletions

View file

@ -623,20 +623,6 @@ Array [
"renderItem": undefined,
"title": "Mock Users & Roles",
},
Object {
"children": undefined,
"deepLink": undefined,
"href": "https://cloud.elastic.co/deployments/123456789/performance",
"id": "cloudLinkPerformance",
"isActive": false,
"path": Array [
"project_settings_project_nav",
"settings",
"cloudLinkPerformance",
],
"renderItem": undefined,
"title": "Mock Performance",
},
Object {
"children": undefined,
"deepLink": undefined,

View file

@ -710,14 +710,6 @@ describe('<DefaultNavigation />', () => {
).textContent
).toBe('Mock Users & RolesExternal link');
expect(
await (
await findByTestId(
/nav-item-project_settings_project_nav.settings.cloudLinkPerformance/
)
).textContent
).toBe('Mock PerformanceExternal link');
expect(
await (
await findByTestId(/nav-item-project_settings_project_nav.settings.cloudLinkBilling/)

View file

@ -84,10 +84,6 @@ const getDefaultNavigationTree = (
id: 'cloudLinkUserAndRoles',
cloudLink: 'userAndRoles',
},
{
id: 'cloudLinkPerformance',
cloudLink: 'performance',
},
{
id: 'cloudLinkBilling',
cloudLink: 'billingAndSub',

View file

@ -174,10 +174,6 @@ const navigationTree: NavigationTreeDefinition = {
id: 'cloudLinkUserAndRoles',
cloudLink: 'userAndRoles',
},
{
id: 'cloudLinkPerformance',
cloudLink: 'performance',
},
{
id: 'cloudLinkBilling',
cloudLink: 'billingAndSub',

View file

@ -145,10 +145,6 @@ const navigationTree: NavigationTreeDefinition = {
id: 'cloudLinkUserAndRoles',
cloudLink: 'userAndRoles',
},
{
id: 'cloudLinkPerformance',
cloudLink: 'performance',
},
{
id: 'cloudLinkBilling',
cloudLink: 'billingAndSub',