Commit Graph

29 Commits

Author SHA1 Message Date
Maxim Shcherbakov
aaee0841e1 Acceptance tests refactoring (#1) 2016-07-14 18:20:28 +02:00
Oleg Kostiushko
75a273eb40 Acceptance test refactoring - Contact form (#2)
* directory _support should exists before build with ignore inside

* added test for contact page availability

* added test for empty contact form submit

* added test for submit contact form

* remove test contact page

* delete old contact page test

* test index-test instead index

* change stage description
2016-07-14 18:19:59 +02:00
Mohamed Cherif Bouchelaghem
6545745e88 configure Codeception::Scpecify to not deep clone properties by default (#57) 2016-07-11 14:43:55 +02:00
Alexander Makarov
e6cdaa5a1a Fixed test to mock form properly 2016-07-02 20:13:40 +03:00
Alexander Makarov
c200693b05 Fixes #62: Changed usage of deprecated getMock() to current createMock() 2016-07-02 19:51:35 +03:00
Bulat Damdinov
dd0c43247f fixed link for AcceptanceTest Selenuim Webdriver 2016-05-24 18:14:58 +08:00
Edo Freriks
df2a935b32 #47, Typo fix address tests 2016-02-01 00:39:43 +01:00
Carsten Brandt
734f8b419d removed duplicate declares
these are now defined automatically by console application if needed.

see https://github.com/yiisoft/yii2/issues/6853
2015-07-11 18:05:41 +02:00
Evgeniy Tkachenko
ff0a3944bf Update config.php 2015-05-13 14:14:06 +03:00
githubjeka
cea040a7cd To fix break test 2015-01-29 15:20:45 +03:00
Evgeniy Tkachenko
d0d066faad Move fixture configuration in config file 2015-01-29 14:49:12 +03:00
Evgeniy Tkachenko
d59a57c383 Fix undefined variable $scenario in test files. 2015-01-29 09:34:42 +03:00
Alexander Makarov
8bcb38960f Fixes #6624: Added delays to acceptance tests in order to make Selenium run more reliable 2014-12-26 23:18:52 +03:00
Anton Andersen
6b4ad97e43 Fixes #6103: Improved codeception config in app templates to ease testing of advanced app on multiple hosts 2014-11-27 14:02:04 +03:00
Mark Ragazzo
995c79103d fixed fixture controller config for applications 2014-11-07 23:20:03 +04:00
Alexander Makarov
c6908c8b43 Fixes #4827: default config for functional tests of both basic and advanced app now turns off CSRF validation while providing commented out alternative setting cookie domain to localhost 2014-10-28 02:03:02 +03:00
Alexander Makarov
e8aed03f1a Fixed entry script name 2014-10-18 19:31:39 +04:00
Alexander Makarov
58842e3a24 Used aliases for fixture directory definitions 2014-08-26 01:51:58 +04:00
Alexander Makarov
459ac478a2 Used a single database and a single CLI entry point for all test types. Added faker to basic app dev requirements. 2014-08-25 02:01:05 +04:00
Alexander Makarov
2e9a0839dd Added faker to basic app console commands, adjusted readme to mention database setup 2014-08-24 15:26:57 +04:00
Alexander Makarov
a3efcafd38 Adjusted testing namespaces in application templates 2014-08-24 14:14:35 +04:00
Alexander Makarov
6b67d0ec52 Renamed YII_ROOT_DIR → YII_APP_BASE_PATH 2014-08-19 20:42:40 +04:00
Alexander Makarov
f85a0f7dd2 Prefixed constants to avoid possible naming conflicts 2014-08-18 01:56:36 +04:00
Alexander Makarov
bc2ec5c684 Fixed copyright year in batch files 2014-08-17 18:55:24 +04:00
Alexander Makarov
229c352f78 Adjusted test configs structure 2014-08-17 18:45:58 +04:00
Alexander Makarov
e7dcdf7c71 Exposed basic app entry URL via codeception.yml, refactored configs of advanced app to read from config and define entry script in a single place 2014-08-16 18:38:56 +04:00
Alexander Makarov
3673e6c004 Renamed guy classes to actors, fixed phpdoc and code style 2014-08-16 18:15:41 +04:00
Alexander Makarov
9460b93de2 Removed db module from basic app, renamed _helpers to _support and _logs to _output 2014-08-16 17:16:05 +04:00
Alexander Makarov
c55a791237 Codeception test adjustments for basic and advanced applications
- Moved everything test-related into `tests` directory. Codeception tests are in `codeception`.
- Removed database module since we're using fixtures and migrations.
- Moved console entry points and bootstrap into `tests/codeception/bin`.
- Adjusted travis build scripts.
- Adjusted documentation to be consistent and reflect changes made.
2014-08-15 19:09:52 +04:00