Skip to content

← All questions

I do not want healing to rescue a broken locator — I want the test to fail

Asked 15,220 views4 answers

Possibly an unpopular opinion, but: if a developer renames a button and my test still passes, my test did not test anything.

Yesterday a whole feature shipped with the wrong label on the submit button and the suite was green, because healing quietly found it by role. I want the suite to go red on a locator that no longer matches. Is there a switch, or am I holding this wrong?

asked by Vikram Rajagopal1,240 ·

4 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related