Skip to content

Add BDD tests for a test article #262

@dannystaple

Description

@dannystaple

Add a BDD test for some particular article that is unlikely to be removed.

  • Given we've navigated to the post at /2025/07/08/08-comparing-anker-power-packs.html
  • It should have a set of tags in a nav, each linking to a tags/tag-slug place
  • It should have a post header in an H2.
  • It should have the post title in the page title, and the term orionrobots in the page title.
  • It should have visible images inside the <article> tag which aren't dead links.
  • It should have a date and author in a <div> tag.
  • It should have a footer with a link to discord and youtube.
  • The top of the page should have the main menu in a <nav>.

Create a second test:

  • Given we've navigated to the post at /2025/07/08/08-comparing-anker-power-packs.html
  • And we are in a desktop view
  • The images, tables and text should not go over the right margin of the article - it should not bleed into the sidebar.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions