Fix xpath selectors and format strings in ui-ci