mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
20 lines
427 B
TypeScript
20 lines
427 B
TypeScript
import { BasePage } from './BasePage';
|
|
|
|
export class SettingsPage extends BasePage {
|
|
getMenuItems() {
|
|
return this.page.getByTestId('menu-item');
|
|
}
|
|
|
|
getMenuItem(id: string) {
|
|
return this.page.getByTestId('menu-item').getByTestId(id);
|
|
}
|
|
|
|
getMenuItemByText(text: string) {
|
|
return this.page.getByTestId('menu-item').getByText(text, { exact: true });
|
|
}
|
|
|
|
async goToSettings() {
|
|
await this.page.goto('/settings');
|
|
}
|
|
}
|