Skip to content

← All questions

HEAL_FAILED: nothing scored above 0.6 and testId probed at 0.00

Asked 13,520 views3 answers
text
Could not locate "signed-in username" (getByTestId('sidenav-username')) and no healing candidate scored ≥ 0.6.
Probed: role=0.42, testid=0.00, label=0.00. Add role/name/testId/label to the heal context or fix the locator.

The context is:

ts
readonly username = this.heal.locator(this.page.getByTestId('sidenav-username'), {
  role: 'status', name: 'Signed in as', testId: 'sidenav-username',
  label: 'Signed in as', description: 'signed-in username',
});

What I cannot work out is testid=0.00. It is the same test id the primary uses, so of course it found nothing — but then why probe it at all? And where does 0.42 come from?

asked by Anouk de Vries238 ·

3 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