Update the progress bar in a smarter way
|Priority:||Could have||Due date:|
If the status bar already is error/failed, we don't need to check for that anymore.
The script should end when there is the "tests have finished" element. (This will lead to the script still running when the tests have crashed. This is not very nice, but does not much harm anyway. Maybe we can detect this in some way.)