## Glossary

| Term | Means |
|------|-------|
| a visitor opens {path} | GET {path} |
| the page loads | status 200 |
| they see {text} | body contains {text} |
| they don't see {text} | body not contains {text} |

---

Feature: Pages
  id: feature.pages

  Scenario: Home page lists every post
    When a visitor opens /
    → the page loads
    → they see "<title>My site</title>"
    → they see "/posts/hello"
    → they see "Hello, world"

  Scenario: Post titles are escaped
    When a visitor opens /posts/tags
    → the page loads
    → they see "&lt;b&gt;"
    → they don't see "<b>"

  Scenario: Unknown posts return 404
    When a visitor opens /posts/nope
    → status 404
    → they see "Page not found"
