1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-05 16:04:24 +03:00
ifhub.club/tests/behat/features/base.feature
2012-11-01 13:46:12 +02:00

43 lines
1.4 KiB
Gherkin

Feature: LiveStreet standart features
Test base functionality of LiveStreet
Scenario: See main page
Given I am on homepage
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"
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
Given I am on "/blog/gadgets"
Then the response status code should be 200
Then I should see "Gadgets"
Then I should see "Offers latest gadget reviews"
Scenario: See list of all blogs
Given I am on "/blogs/"
Then the response status code should be 200
Then I should see "Gadgets"
Then I should see "golfer"
Scenario: See all new topics
Given I am on "/index/newall/"
Then the response status code should be 200
Then I should see "Sony MicroVault Mach USB 3.0 flash drive"
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"
Scenario: See user profile
Given I am on "/profile/Golfer/"
Then the response status code should be 200
Then I should see "Sergey Doryba"
Then I should see "... Sergey Doryba profile description"