graphdb-workbench-tests
Version:
Cypress tests for GraphDB workbench
19 lines (14 loc) • 425 B
JavaScript
export class ClusterViewSteps {
static getNodes() {
return cy.get('.id-host-background').parent().parent();
}
static getNode(host) {
return ClusterViewSteps.getNodes().contains(host).parent().parent();
}
static getNodeInfoText(host) {
return ClusterViewSteps.getNode(host).find('.node-info-fo');
}
static getLink(id) {
return cy.get(`path.link.${id}`);
}
}