Skip to content
Snippets Groups Projects
Commit 8fbfcf0e authored by Piotr Gawron's avatar Piotr Gawron
Browse files

rename Submap to Dialog

parent 0b2119df
No related branches found
No related tags found
1 merge request!341Resolve "Export graphics - add "Current view""
Pipeline #99224 passed
......@@ -5,6 +5,7 @@ minerva-front (19.0.0~alpha.0) stable; urgency=medium
* Feature: allow plugin to access info about opened panel (#309)
* Feature: allow plugin to hide opened panel (#309)
* Feature: allow plugin to open left panel (#309)
* Feature: allow to export current view for graphics export (#327)
-- Piotr Gawron <piotr.gawron@uni.lu> Fri, 18 Oct 2024 13:00:00 +0200
......
......@@ -45,7 +45,7 @@ describe('Submap - component', () => {
navigationButton.click();
});
expect(screen.getByText('Submap')).toBeInTheDocument();
expect(screen.getByText('Diagram')).toBeInTheDocument();
await waitFor(() => {
expect(screen.getByTestId('checkbox-filter')).toBeInTheDocument();
......@@ -64,7 +64,7 @@ describe('Submap - component', () => {
},
},
});
expect(screen.getByText('Submap')).toBeInTheDocument();
expect(screen.getByText('Diagram')).toBeInTheDocument();
const navigationButton = screen.getByTestId('accordion-item-button');
act(() => {
navigationButton.click();
......@@ -83,7 +83,7 @@ describe('Submap - component', () => {
},
},
});
expect(screen.getByText('Submap')).toBeInTheDocument();
expect(screen.getByText('Diagram')).toBeInTheDocument();
const navigationButton = screen.getByTestId('accordion-item-button');
act(() => {
navigationButton.click();
......@@ -103,7 +103,7 @@ describe('Submap - component', () => {
},
},
});
expect(screen.getByText('Submap')).toBeInTheDocument();
expect(screen.getByText('Diagram')).toBeInTheDocument();
const navigationButton = screen.getByTestId('accordion-item-button');
act(() => {
navigationButton.click();
......
......@@ -30,7 +30,7 @@ export const Submap = (): React.ReactNode => {
}
return (
<CollapsibleSection title="Submap" dangerouslySetExpanded>
<CollapsibleSection title="Diagram" dangerouslySetExpanded>
{isPending && <p>Loading...</p>}
{!isPending && mappedElementAnnotations && mappedElementAnnotations.length > ZERO && (
<CheckboxFilter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment