Troubleshooting entry template
Use this template for problem-solution documentation that helps users resolve issues.
When to use this template
Use troubleshooting documentation for:
- Common errors users encounter
- Issues with specific symptoms and known solutions
- Problems that require diagnostic steps
- Workarounds for known issues
Examples:
- “Tests fail with ‘element not found’ error”
- “Browser doesn’t launch”
- “Screenshots are blank”
- “Vale check fails on valid content”
Template
Copy and adapt this template for troubleshooting entries:
Writing tips
Start with symptoms, not causes
Users search for what they see, not why it happens:
✅ Good:
Tests fail with “Element not found”
Symptoms
- Tests pass locally but fail in CI
- Error message:
Error: Element with selector "#username" not found
⛔ Less findable:
Timing issues in CI environments
(Users don’t search for “timing issues”)
Use exact error messages
Help users find solutions by matching error text:
✅ Searchable:
Error message:
ECONNREFUSED: Connection refused at http://localhost:3000
⛔ Less useful:
Error message about connection
Provide concrete steps
Avoid vague instructions:
✅ Specific:
- Open
.doc-detective.json- Add
"timeout": 10000to the test configuration- Save the file and run tests again
⛔ Vague:
Increase the timeout value in your configuration
Show before and after
When changing configuration, show both states:
✅ Clear:
Before:
After:
Explain why solutions work
Help users understand, don’t just give commands:
✅ Educational:
Increase the timeout to 10000 ms (10 seconds) to give the page more time to load. CI environments are often slower than local machines.
⛔ Just commands:
Set timeout to 10000.
Example troubleshooting entry
Here’s a complete example:
Checklist before submitting
- Problem is stated in the title
- Symptoms are specific and observable
- Exact error messages are included
- Root cause is explained
- Solution steps are clear and numbered
- Verification steps are provided
- Alternative solutions documented (if applicable)
- Prevention tips included (if applicable)
- Next steps provided if solution doesn’t work
- Related documentation is linked