UNPKG

graphdb-workbench-tests

Version:
19 lines (14 loc) 425 B
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}`); } }