Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,15 @@ export function createNavTree(pluginsStart: ObservabilityPublicPluginsStart) {
spaceBefore: 'm',
},
{
id: 'apm',
id: 'applications',
title: i18n.translate('xpack.observability.obltNav.applications', {
defaultMessage: 'Applications',
}),
renderAs: 'panelOpener',
children: [
{
id: 'apm',
link: 'apm:services',
children: [
{
link: 'apm:services',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
deepLinkId: 'observabilityOnboarding',
});

// open apm (Application) panel using the link button (not the button icon)
await solutionNavigation.sidenav.openPanel('apm', { button: 'link' });
// open application panel
await solutionNavigation.sidenav.openPanel('applications');
{
const isOpen = await solutionNavigation.sidenav.isPanelOpen('apm');
const isOpen = await solutionNavigation.sidenav.isPanelOpen('applications');
expect(isOpen).to.be(true);
}

await solutionNavigation.sidenav.closePanel('apm', { button: 'link' });
await solutionNavigation.sidenav.closePanel('applications');
{
const isOpen = await solutionNavigation.sidenav.isPanelOpen('apm');
const isOpen = await solutionNavigation.sidenav.isPanelOpen('applications');
expect(isOpen).to.be(false);
}

Expand Down