Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Show details of a published resource #18

@textbook

Description

@textbook

User story

  • As a visitor
  • I want to see the details of a published resource
  • So that I can understand who suggested and published it

Resource details

Details page should include:

  • Title
  • URL
  • Topic (if available)
  • Date of suggestion and who suggested it
  • Date of publication and who published it

Acceptance criteria

  1. Scenario: link to details of published resources

    • Given: the user is on the homepage
    • And: there are published resources
    • When: the user clicks on the resource title
    • Then: they are taken to a page showing the details of the resource
  2. Scenario: no link to details of draft resources

    • Given: an admin user is on the Drafts page
    • And: there are unpublished resources
    • When: the user clicks on the resource title
    • Then: nothing happens (title is not a link)
  3. Scenario: navigation to non-existent resource

    • Given: a user tries to navigate directly to the resource page
    • And: no published resource with the specified ID exists
    • When: the page loads
    • Then: they are informed that the resource could not be found

Links

  • N/A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions