Skip to content

← All questions

Why does healing never kick in for expectHidden()?

Asked 12,980 views3 answers

Every positive assertion in our page object heals fine. This one never does:

ts
async assertBannerGone() {
  await this.errorBanner.expectHidden();
}

assert is in heal.actions, the context has a role, a name and a test id. The step fails with an ordinary Playwright assertion error and there is no entry in heal.jsonl for it. Is expectHidden just not wired up yet?

asked by Gio Castellano521 ·

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