diff --git a/webviz_config/testing/_composite.py b/webviz_config/testing/_composite.py index aa7966a7..b9d6cce2 100644 --- a/webviz_config/testing/_composite.py +++ b/webviz_config/testing/_composite.py @@ -70,7 +70,7 @@ def start_server(self, plugin: WebvizPluginABC, **kwargs: Any) -> None: def toggle_webviz_settings_drawer(self) -> None: """Open the plugin settings drawer""" - self.wait_for_element(WebvizIds.SETTINGS_DRAWER_TOGGLE_OPEN).click() + self.wait_for_element(WebvizIds.SETTINGS_DRAWER_TOGGLE).click() def toggle_webviz_settings_group(self, settings_group_id: str) -> None: """Open the respective settings group in the settings drawer""" diff --git a/webviz_config/testing/_webviz_ids.py b/webviz_config/testing/_webviz_ids.py index c7f76335..9b373afd 100644 --- a/webviz_config/testing/_webviz_ids.py +++ b/webviz_config/testing/_webviz_ids.py @@ -6,4 +6,4 @@ class WebvizIds(str, Enum): CONTENT_MANAGER = "webviz-content-manager" SETTINGS_DRAWER = "settings-drawer" PLUGINS_WRAPPER = "plugins-wrapper" - SETTINGS_DRAWER_TOGGLE_OPEN = ".WebvizSettingsDrawer__ToggleOpen" + SETTINGS_DRAWER_TOGGLE = ".WebvizSettingsDrawer__Toggle"