Fix UI tests on Jenkins