This selector isn't specific enough. For each tenant, there are two `<td>` columns that match: both the Name and the Host. Since this selector is specifically targeting the Name, it should be further qualified, e.g.:

    casper.waitForSelector('.jeditable-container .jeditable-field[data-field="displayName"][data-alias="' + tenantID + '"]', function() {

The same comment applies to the rest of this test.