2012-10-25 21:54:16 +03:00
|
|
|
Feature: LiveStreet standart features
|
|
|
|
Test base functionality of LiveStreet
|
|
|
|
|
|
|
|
Scenario: See main page
|
|
|
|
Given I am on homepage
|
2012-11-01 13:46:12 +02:00
|
|
|
Then the response status code should be 200
|
|
|
|
|
|
|
|
Then I should see "Sony MicroVault Mach USB 3.0 flash drive"
|
|
|
|
Then I should see "Blogger's name golfer"
|
2012-10-25 21:54:16 +03:00
|
|
|
|
2012-11-01 13:46:12 +02:00
|
|
|
Then I should see "iPad 3 rumored to come this March with quad-core chip and 4G LTE "
|
|
|
|
Then I should see "Toshiba unveils 13.3-inch AT330 Android ICS 4.0 tablet"
|
|
|
|
Then I should see "Gadgets"
|
|
|
|
|
|
|
|
Scenario: See colective blog
|
2012-10-25 21:54:16 +03:00
|
|
|
Given I am on "/blog/gadgets"
|
2012-11-01 13:46:12 +02:00
|
|
|
Then the response status code should be 200
|
|
|
|
|
2012-10-25 21:54:16 +03:00
|
|
|
Then I should see "Gadgets"
|
|
|
|
Then I should see "Offers latest gadget reviews"
|
|
|
|
|
2012-11-01 13:46:12 +02:00
|
|
|
Scenario: See list of all blogs
|
2012-10-25 21:54:16 +03:00
|
|
|
Given I am on "/blogs/"
|
2012-11-01 13:46:12 +02:00
|
|
|
Then the response status code should be 200
|
|
|
|
|
2012-10-25 21:54:16 +03:00
|
|
|
Then I should see "Gadgets"
|
2012-11-01 13:46:12 +02:00
|
|
|
Then I should see "golfer"
|
2012-10-25 21:54:16 +03:00
|
|
|
|
2012-11-01 13:46:12 +02:00
|
|
|
Scenario: See all new topics
|
2012-10-25 21:54:16 +03:00
|
|
|
Given I am on "/index/newall/"
|
2012-11-01 13:46:12 +02:00
|
|
|
Then the response status code should be 200
|
|
|
|
|
|
|
|
Then I should see "Sony MicroVault Mach USB 3.0 flash drive"
|
2012-10-25 21:54:16 +03:00
|
|
|
Then I should see "iPad 3 rumored to come this March with quad-core chip and 4G LTE "
|
|
|
|
Then I should see "Toshiba unveils 13.3-inch AT330 Android ICS 4.0 tablet"
|
|
|
|
|
2012-11-01 13:46:12 +02:00
|
|
|
Scenario: See user profile
|
2012-11-01 13:29:17 +02:00
|
|
|
Given I am on "/profile/Golfer/"
|
2012-11-01 13:46:12 +02:00
|
|
|
Then the response status code should be 200
|
|
|
|
|
2012-11-01 13:29:17 +02:00
|
|
|
Then I should see "Sergey Doryba"
|
|
|
|
Then I should see "... Sergey Doryba profile description"
|