I would prefer that your test shouldn't be coupled to UI text, but to more semantic elements in the page.