Contents

Breadcrumb navigation

Background:

  • Given I am Normin

Scenario: Breadcrumb navigation

@personas

  • Given I am listing the main categories
  • Then I see the breadcrumb navigation bar

Scenario: Home button in the breadcrumb navigation

@personas

  • Given I am listing the main categories
  • And I see the breadcrumb navigation bar
  • Then the first position in the breadcrumb navigation bar is always the home button
  • And that button directs me to the main categories

Scenario: Choosing main category

@personas

  • Given I am listing the main categories
  • When I choose a main category
  • Then that category opens
  • And that category is the second and last element of the breadcrumb navigation bar

Scenario: Choosing a subcategory

@javascript @personas

  • Given I am listing the main categories
  • When I choose a subcategory
  • Then that category opens
  • And that category is the second and last element of the breadcrumb navigation bar

Scenario: Show the path to a model

@personas

  • Given I am listing the main categories
  • When I choose a main category
  • Then that category opens
  • And that category is the second and last element of the breadcrumb navigation bar
  • When I open a model
  • Then I see the whole path I traversed to get to the model
  • And none of the elements of the breadcrumb navigation bar are active

Scenario: Explorative search picks the the category on the first level

@personas

  • Given I am listing models
  • When I pick a first-level category from the results of the explorative search
  • Then that category opens
  • And that category is the second and last element of the breadcrumb navigation bar

Scenario: Explorative search: Picking a second-level category

@personas

  • Given I am listing models
  • When I pick a second-level category from the results of the explorative search
  • Then that category opens
  • And that category is the second and last element of the breadcrumb navigation bar

Source: features/borrow/breadcrumb_navigation.feature at commit eb240d9e, Leihs (GPL license).