As written, this test doesn't work for the current release. There are two `<div>` containers that match the selector, the display name (`data-field="displayName"`) and the host (`data-field="host`). The `.click()` function is applied to the latter rather than the former, so the test does not behave as expected. This could be fixed with a more specific selector, e.g. 

    casper.click('.jeditable-container .jeditable-field[data-alias="' + tenantID + '"][data-field="displayName"]')