mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 08:34:07 -08:00
af3ac2db28
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
17 lines
539 B
TypeScript
17 lines
539 B
TypeScript
import { BasePage } from './base';
|
|
|
|
export class WorkerViewPage extends BasePage {
|
|
url = '/settings/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('#settings-workersview'),
|
|
};
|
|
|
|
actions = {};
|
|
}
|