25. ./personas/product_owner.yml
include:
- signed in user
- registered user
about: represents the stakeholders and the business
goals:
- have control and overview of product building ...
motiviations:
- build great product
points_of_pain:
- delays in delivery
tasks:
...
26. @__login
Feature: Sign in
In order to get access to protected sections of the site
As a registered user
I want to sign in
Scenario: Visitor signs in with invalid data
...
Scenario: Visitor signs in with valid data
...
27. Feature: writing expert review for product
In order to promote best products
As pro user
I would like to post expert review
Background: i'm on product page
Given i'm logged in as user one
And I open product "Siemens Phoenix 103 BTE" page
Scenario: posting product review
When I follow 'Add Review'
And I fill in title with 'This is Great Product'
And I fill in description with 5 paragraphs of text
And I rate product as 5
And I press 'Save & Close'
Then I should be on product page
And I should see 'This is Great Product' within Review
And I should see product rating 5
When I open home page
Then should see product 'Siemens Phoenix 103 BTE' on 'top h
When I open product listing
And I navigate to Siemens Phoenix types
And I sort by date descending
Then I should see 'This is Great Product' as first
When I go to product listing
And I fill in search 'Siemens phoenix 103 BTE'
And I press 'Search'
Then i should see rating 5 within 'Siemens Phoennix 103 BTE