Skip to content

Commit

Permalink
chore: add deployment.environment to defaultOpenSections to pass the …
Browse files Browse the repository at this point in the history
…test
  • Loading branch information
ahmadshaheer committed Sep 10, 2024
1 parent 8cbac1d commit 0fd6872
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/src/pages/TracesExplorer/__test__/testUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,12 @@ export function checkIfSectionIsNotOpen(
expect(section.querySelector('.ant-collapse-item-active')).toBeNull();
}

export const defaultOpenSections = ['hasError', 'durationNano', 'serviceName'];
export const defaultOpenSections = [
'hasError',
'durationNano',
'serviceName',
'deployment.environment',
];

export const defaultClosedSections = Object.keys(AllTraceFilterKeyValue).filter(
(section) =>
Expand Down

0 comments on commit 0fd6872

Please sign in to comment.