Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenthoms committed Jan 7, 2025
1 parent e021327 commit 966d1f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webviz_config/testing/_composite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down
2 changes: 1 addition & 1 deletion webviz_config/testing/_webviz_ids.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 966d1f0

Please sign in to comment.