Skip to content

← All questions

What writes error-context.md next to a failure, and can I use it?

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

Poking through a failed run I found this:

text
.sdods/runs/019362f1-.../runner-output/demo-shop-ui-chromium-Checkout-with-a-saved-card/
  error-context.md
  test-failed-1.png
  trace.zip

The markdown file starts with the headings Instructions, Test info, Error details and Page snapshot, and the page snapshot is a full accessibility tree of the page at the moment it died. Nobody on the team knew it existed.

Is it stable, and is there any reason not to paste it straight into a bug report?

3 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related