Changes between Version 50 and Version 51 of DeveloperGuidelines/Testing/Selenium
- Timestamp:
- 12/13/12 15:48:45 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Testing/Selenium
v50 v51 43 43 }}} 44 44 45 For the whole test suite, uncomment the following line in {{{models/000_config.py}}}: 46 {{{ 47 settings.base.prepopulate = ["IFRC_Train"] 48 }}} 49 50 Make sure that {{{settings.base.migrate = True}}} and {{{settings.base.debug = True}}} in the config file. 51 52 Then you will need to re-populate: delete the contents of databases/* , errors/* and sessions/* 53 54 {{{ 55 cd web2py/applications/eden 56 rm databases/* sessions/* errors/* 57 }}} 58 45 59 Start the Web2py server at 127.0.0.1:8000. (Selenium will start a captive browser, 46 60 which it will direct to contact the server at 127.0.0.1:8000.) 47 48 For the whole test suite, it is assumed that you are using:49 {{{50 deployment_settings.base.prepopulate = ["IFRC_Train"]51 }}}52 61 53 62 Run the whole test suite for the Eden application: