mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
489 B
24 lines
489 B
import BasePage from '../../../Base'; |
|
import { SidebarPage } from '..'; |
|
|
|
export class SidebarUserMenuObject extends BasePage { |
|
readonly sidebar: SidebarPage; |
|
|
|
constructor(parent: SidebarPage) { |
|
super(parent.rootPage); |
|
|
|
this.sidebar = parent; |
|
} |
|
|
|
get() { |
|
return this.rootPage.getByTestId('nc-sidebar-userinfo'); |
|
} |
|
|
|
async click() { |
|
await this.get().click(); |
|
} |
|
|
|
async clickLogout() { |
|
await this.rootPage.getByTestId('nc-sidebar-user-logout').click(); |
|
} |
|
}
|
|
|