Skip to content

fix(assertions): render aria snapshot in its own section on expect failure - #3089

Merged
Simon Knott (Skn0tt) merged 1 commit into
microsoft:mainfrom
Skn0tt:fix-3088
Jun 8, 2026
Merged

fix(assertions): render aria snapshot in its own section on expect failure#3089
Simon Knott (Skn0tt) merged 1 commit into
microsoft:mainfrom
Skn0tt:fix-3088

Conversation

@Skn0tt

Copy link
Copy Markdown
Member

Summary

  • The 1.60.0 roll routed the new received.ariaSnapshot into the Actual value: line, dumping the whole-page aria snapshot there.
  • Upstream renders it as a separate Aria snapshot: section; this aligns Python with that behavior so Actual value: shows only the received value.

Fixes #3088

…ilure

The 1.60.0 roll put the new `received.ariaSnapshot` into the `Actual value:`
line, dumping the whole-page aria snapshot into it. Upstream renders it as a
separate `Aria snapshot:` section instead. Align with upstream so `Actual
value:` shows only the received value.

Fixes: microsoft#3088
@Skn0tt
Simon Knott (Skn0tt) merged commit d7ec09a into microsoft:main Jun 8, 2026
35 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Make oiptional dumping aria snapshot when locator assertion fails

2 participants