@robmiles @raoufaghrout rapidftr/tracker#136 Fixed functional test that ...

While working on story rapidftr/tracker#136 we noticed that the functional test for deleting a field was not working as intended. The functional test ran and passed because it was checking "characteristic" exists on the page outside of HTML tags, where "Characteristic" (difference: upper case c) did still exist outside of HTML tags. The issue is that after delete is clicked the browser prompt to confirm the delete wasn't being clicked and hence the characteristic field on the page still existed. So the test as it was should have been failing.

The test has been changed to check the field has been removed using the id of that field, this is because the String "Characteristic" still exists on the page due to the confirmation message that is displayed. Additionally the test now uses javascript as it will need to confirm in the browser prompt if the delete should occur.

We weren't sure whether to add this as a bug or fix it as part of the existing story, if possible please provide guidance on how to proceed and some feedback. Hope this helps, please feel free to ask any questions or clarifications.

Thanks!