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

Know the answer?

Reviewed before it appears. Wrap commands and output in triple backticks and they will render as a code block.

Have a different question? Ask it.

Related