Rename SideBar to Sidebar (#422)

* Rename SideBar to Sidebar

* rename files

* rename files
This commit is contained in:
Chenlei Hu
2024-08-14 11:27:23 -04:00
committed by GitHub
parent c6b6bdcb67
commit a68f7c680b
16 changed files with 54 additions and 54 deletions

View File

@@ -37,7 +37,7 @@ class ComfyNodeSearchBox {
}
}
class NodeLibrarySideBarTab {
class NodeLibrarySidebarTab {
public readonly tabId: string = 'node-library'
constructor(public readonly page: Page) {}
@@ -74,16 +74,16 @@ class NodeLibrarySideBarTab {
}
class ComfyMenu {
public readonly sideToolBar: Locator
public readonly sideToolbar: Locator
public readonly themeToggleButton: Locator
constructor(public readonly page: Page) {
this.sideToolBar = page.locator('.side-tool-bar-container')
this.sideToolbar = page.locator('.side-tool-bar-container')
this.themeToggleButton = page.locator('.comfy-vue-theme-toggle')
}
get nodeLibraryTab() {
return new NodeLibrarySideBarTab(this.page)
return new NodeLibrarySidebarTab(this.page)
}
async toggleTheme() {