Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] BDD: Add menu feature #28

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+52 −0
Diff settings

Always

Just for now

Copy path View file
@@ -0,0 +1,52 @@
Feature: Menu
In order to easily access pages
As an anonymous user
I need to be able move from page to page and see sub pages

Scenario: See menu in starting page
When I go to homepage
Then I see main menu

Scenario: Access a page
Given I am on homepage
When I click at "Getting Started" link
Then I see "Getting started" page

Scenario: See menu pages ordered
When I go to homepage
Then on main menu I see links in following order:
| Links |
| Getting Started |
| Shopping |
| Blog |
| Discover eZ Publish 5 |
| Contact Us |

Scenario: See sub pages
Given I am on homepage
When I click at "Getting Started" link
Then I see the sub menu
And on sub menu I see the links for Content objects:
| Links |
| Feedback |
| Resources |
| Selected Features |

Scenario: Shouldn't see third level sub menu
Given I am on homepage
When I click at "Getting Started" link
And I click at "Selected Features" link
Then I see "Selected Features" page
And on main menu I don't see the links:
| Links |
| Automate |
| Deliver |
| Create |
| Optimize |
| Getting Started with eZ Publish 5 |

Scenario: Shouldn't see sub menu when there isn't a second level
Given I am on homepage
When I click at "Contact Us" link
Then I see "Contact Us" page
And I don't see the sub menu
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.