Fix ui tests for jenkins

This pull request aims to try and fix builds on Jenkins. The UI testing fails because it can't click on the button/text fields by name. This instead refers to them by their IDs, which should in theory work.

If this pull request checks out, we will test my hypothesis with a real Jenkins build.