From 03160e86e62ce968efccbcbdbe0e2a124f8e86de Mon Sep 17 00:00:00 2001 From: Marcus Andersson Date: Fri, 17 Jan 2025 11:07:25 +0100 Subject: [PATCH] Added deprecation message. --- packages/plugin-e2e/src/models/pages/PanelEditPage.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/plugin-e2e/src/models/pages/PanelEditPage.ts b/packages/plugin-e2e/src/models/pages/PanelEditPage.ts index ce591f0e9..07bc4da75 100644 --- a/packages/plugin-e2e/src/models/pages/PanelEditPage.ts +++ b/packages/plugin-e2e/src/models/pages/PanelEditPage.ts @@ -103,6 +103,7 @@ export class PanelEditPage extends GrafanaPage { /** * Expands the section for the given category name. If the section is already expanded, this method does nothing. + * @deprecated use {@link PanelEditOptionsGroup.expand} method instead. */ async collapseSection(categoryName: string) { const section = this.getByGrafanaSelector(this.ctx.selectors.components.OptionsGroup.group(categoryName));