mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-29 04:55:02 +03:00
set english as default lang for test env
This commit is contained in:
parent
6f6998f622
commit
34d27b863e
|
@ -31,10 +31,13 @@ $config['db']['params']['type'] = 'mysql';
|
|||
$config['db']['params']['dbname'] = 'social_test';
|
||||
$config['db']['table']['prefix'] = 'prefix_';
|
||||
|
||||
$config['sys']['cache']['use'] = false; // использовать кеширование или нет
|
||||
$config['sys']['cache']['use'] = false; // использовать кеширование или нет
|
||||
$config['sys']['cache']['solid'] = false;
|
||||
|
||||
$config['module']['user']['captcha_use_registration'] = false; // проверять поле капчи при регистрации пользователя
|
||||
|
||||
$config['lang']['current'] = 'english';
|
||||
$config['lang']['default'] = 'english';
|
||||
|
||||
return $config;
|
||||
?>
|
||||
?>
|
||||
|
|
|
@ -3,24 +3,40 @@ Feature: LiveStreet standart features
|
|||
|
||||
Scenario: See main page
|
||||
Given I am on homepage
|
||||
When I press "Войти"
|
||||
Then the response status code should be 200
|
||||
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"
|
||||
|
||||
Scenario: See Colective Blog
|
||||
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 blogs
|
||||
Scenario: See list of all blogs
|
||||
Given I am on "/blogs/"
|
||||
Then I should see "Gadgets"
|
||||
Then the response status code should be 200
|
||||
|
||||
Scenario: See All Topic
|
||||
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
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue