- hosts.editLabels(hostname, ['_no_schedule'], true);
- hosts.clickTab('cd-host-details', hostname, 'Daemons');
- cy.get('cd-host-details').within(() => {
- // draining will take some time to complete.
- // since we don't know how many daemons will be
- // running in this host in future putting the wait
- // to 15s
- cy.wait(15000);
- hosts.getTableCount('total').should('be.eq', 0);
- });
- hosts.delete(hostname);