mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-28 14:09:43 -08:00
16 lines
546 B
TypeScript
16 lines
546 B
TypeScript
|
import { BasePage } from "../base";
|
||
|
|
||
|
export class MainSidebar extends BasePage {
|
||
|
getters = {
|
||
|
settings: () => cy.getByTestId('menu-item-settings', { timeout: 5000 }),
|
||
|
templates: () => cy.getByTestId('menu-item-templates'),
|
||
|
workflows: () => cy.getByTestId('menu-item-workflows'),
|
||
|
credentials: () => cy.getByTestId('menu-item-credentials'),
|
||
|
executions: () => cy.getByTestId('menu-item-executions'),
|
||
|
};
|
||
|
actions = {
|
||
|
goToSettings: () => this.getters.settings().click(),
|
||
|
goToCredentials: () => this.getters.credentials().click(),
|
||
|
};
|
||
|
}
|