Skip to content

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

Merged
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
Skn0tt merged 1 commit into
microsoft:mainfrom
Skn0tt:fix-3088

Conversation

@Skn0tt

@Skn0tt Skn0tt commented Jun 8, 2026

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 Skn0tt requested a review from dgozman June 8, 2026 07:51
@Skn0tt 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