mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-27 20:32:10 -08:00
16 lines
520 B
TypeScript
16 lines
520 B
TypeScript
|
import { BasePage } from './base';
|
||
|
|
||
|
export class WorkerViewPage extends BasePage {
|
||
|
url = '/workers';
|
||
|
getters = {
|
||
|
workerCards: () => cy.getByTestId('worker-card'),
|
||
|
workerCard: (workerId: string) => this.getters.workerCards().contains(workerId),
|
||
|
workerViewLicensed: () => cy.getByTestId('worker-view-licensed'),
|
||
|
workerViewUnlicensed: () => cy.getByTestId('worker-view-unlicensed'),
|
||
|
menuItems: () => cy.get('.el-menu-item'),
|
||
|
menuItem: () => this.getters.menuItems().get('#workersview'),
|
||
|
};
|
||
|
|
||
|
actions = {};
|
||
|
}
|