started client side testing using selenium and other related and unrelated fixes

This commit is contained in:
Rushabh Mehta
2014-04-30 19:38:28 +05:30
parent b85a9108eb
commit a15164750d
18 changed files with 176 additions and 180 deletions

View File

@@ -19,12 +19,12 @@ install:
script:
cd ./test_sites/ &&
frappe --reinstall test_site &&
frappe --install_app erpnext test_site --verbose &&
frappe --request '?cmd=erpnext.setup.page.setup_wizard.setup_wizard.setup_account&currency=USD&first_name=Test&last_name=User&company_name=Wind+Power+LLC&timezone=America/New_York&company_abbr=WP&industry=Manufacturing&country=United States&fy_start_date=2014-01-01&fy_end_date=2014-12-31&language=english&company_tagline=Testing&email=test@erpnext.com&password=test' test_site &&
frappe --verbose --run_tests test_site --app erpnext
frappe --use test_site &&
frappe --reinstall &&
frappe --install_app erpnext --verbose &&
frappe --verbose --run_tests --app erpnext
before_script:
- mysql -e 'create database travis' &&
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('travis') WHERE user='travis';\nFLUSH PRIVILEGES;\n" | mysql -u root
- mysql -e 'create database test_site' &&
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('test_site') WHERE user='test_site';\nFLUSH PRIVILEGES;\n" | mysql -u root