Skip to main content

User Journeys

List of User Journeys

Shared

  • Navigate to Documentation

Desktop

  • Switch Theme
  • Access main sections

Mobile

  • Switch Theme
  • Access main sections

Base User Journeys - Shared

Scenario: User navigates to homepage

  • Given the user is on the homepage of the documentation site.
  • Then the documentation page displays the correct title and content.

Base User Journeys - Desktop

Access Main Sections

Scenario: User navigates from homepage to documentation and accesses main sections

  • Given the user is on the documentation website homepage.
  • Then the main navigation menu should be visible.
  • And the navigation contains key sections like Documentation and Tech Decisions.

Switch Theme

Scenario: User switches theme on a desktop device

  • Given the user is on any page of the documentation site on a desktop device.
  • When the user clicks on the theme toggle button in the navigation bar.
  • Then the site's theme changes from light to dark.
  • And the theme preference is saved for future visits.

Base User Journeys - Mobile

Access Main Sections

Scenario: User navigates from homepage to documentation and accesses main sections

  • Given the user is on the documentation website homepage.
  • When the user clicks on the navigation toggle button
  • Then the main navigation menu should be visible.
  • And the navigation contains key sections like Documentation and Tech Decisions.

Switch Theme

Scenario: User switches between light and dark themes on a mobile device

  • Given the user is on any page of the documentation site using a mobile device.
  • When the user clicks on the navigation toggle button.
  • And the user clicks on the theme toggle button within the menu.
  • Then the site's theme changes from light to dark.
  • And the theme preference is saved for future visits.