mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
366cd672a7
As the worker view is not an essential function, it is being moved from the main side bar to the settings side bar for the time being.
16 lines
538 B
TypeScript
16 lines
538 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 = {};
|
|
}
|