Commit graph

63 commits

Author SHA1 Message Date
Achilles Rasquinha
e5de3b6deb
Chrome Driver Issue 2017-12-07 16:23:59 +05:30
Achilles Rasquinha
b8825ca116 Pure Python MySQL instead mysqlclient (with Python C API) (#4280)
* added PyMYSQL instead mysqlclient-python

* added pymysql import

* fixed db module import

* foxed self._conn wrapper

* updated cursor migration

* removed existent converters

* some more fixes towards API port

* modified travis

* updated doctype and revereted yml

* modified travis

* refreshed logging

* raw fix

* moved from hard coded constants to declarable instances

* moved from hard coded constants to declarable instances

* refactoring and logging

* moved to global import declaration

* fixed codacy

* unfixed codacy

* minor fix

* binary_type has a single

* deprecated alternative

* merged with latest

* fixed merge conflicts

* using deprecated alternative

* raw fix

* stupid fix

* using StringTypes instead

* brutal hack

* log

* tundebazy to the rescue

* fixed content_hash error

* frappe/database.py

* frappe/database.py

* updated database.py

* updated requirements

* updated requirements

* fixed codacy

* fixed codacy

* moved from DatabaseOperationalError to pymysql.InternalError

* moved from DatabaseOperationalError to pymysql.InternalError

* fixed codacy

* empty commit

* fixed codacy

* fixed codacy
2017-11-06 16:42:01 +05:30
Rushabh Mehta
b2a86325eb Update .travis.yml 2017-10-09 17:06:52 +05:30
Achilles Rasquinha
7d44cef80c updated travis (#4281) 2017-10-09 13:07:27 +05:30
Rushabh Mehta
aa370aef36 [tests] less verbose logs 2017-08-10 11:02:36 +05:30
Rushabh Mehta
9214e0f7fc [fix] flake8 verison 2017-07-28 11:35:25 +05:30
Rushabh Mehta
aef98daae4 [add] catch errors flake8 (#3800) 2017-07-27 11:34:44 +05:30
Ameya Shenoy
0a32ad83bf [tests] restructured tests to work with the new testing framework (#3683)
* minor changes and added global_test_search

* stashing the changes

* named assertions, modified test_lib to fit ES6 standard, added global search test

* modified to work with the new testing framework

* renamed files

* increased timeouts

* only calendar and desktop test

* modified travis.yml
2017-07-14 17:34:25 +05:30
Rushabh Mehta
25ad8ef16c Test Runner - Refactored (#3679)
* [tests] test_runner to run one JS test at a time

* [tests] test_runner to run one JS test at a time

* [test] ignore failing tests

* [test] comment test_calendar_view

* [test] add timeout

* [test] add timeout
2017-07-13 15:17:12 +05:30
Rushabh Mehta
2355dafc25 [minor] no scheduler for tests 2017-07-11 10:28:07 +05:30
Rushabh Mehta
b38aff0b89 [minor] remove commented lines in travis.yml 2017-07-11 10:28:07 +05:30
Sagar Vora
d0306a7c26 [ci] remove incorrect docker sources from APT (#3587) 2017-07-03 12:33:33 +05:30
Rushabh Mehta
f409fd7358 [ui-tests] python is back! (#3565)
* [ui-tests] python is back!

* [minor] remove old test

* [test] dont test test_runner

* [tests] try firefox

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome 1

* [tests] try chrome 2

* [tests] try chrome 3

* [tests] try phantomJS

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] login click button

* [tests] login click button

* [tests] show log

* [test] test with start_maximized

* [test] test only login

* [travis] test another port for selenium

* [travis] try running ui tests after unittests are done

* [travis] pring body_div if fails

* [tests] complete setup wizard for frappe

* [minor] move ui tests to frappe/ui/tests

* [tests] ui tests in public and codacy fixes

* [fix] tests + eslint

* [minor] move tests to tests/ui folder and print console after print

* [fix] linting

* [tests] added documentation and better integration testing

* [promise] form triggering is now promise based

* [test]

* [test]

* [test]

* [test]

* [test] print output

* [minor] default empty in select and print console

* [cleanup] more minor fixes

* [enhance] first-cut done!

* [minor] frappe.run_serially to pass arguments while chaining
2017-07-03 11:53:00 +05:30
Sagar Vora
3dbe747292 [ci] use deprecated trusty build for now (#3544) 2017-06-22 17:05:23 +05:30
Faris Ansari
a9cf952505 UI Tests for Frappe (#3500)
* init nightwatch.js

* add nightwatch to travis

typo

nightwatch fix

kill node

launch_url

run tests on local selenium

manually run sc

sc in bg with sleep

minor

minor

run test on chromedriver

simplify travis

minor

add chrome package

implicit chromedriver

nightwatch.global.js

path fix

console statement

enable screenshot

send screenshot to telegram

path

minor

remove chromium

add binary

screenshot

url

cleanup

increase timout

minor

minor

minor

* login test

add page_objects in config

Fix login test

* bench run-ui-tests

* update package.json

* update travis

* bench reinstall before running ui tests
2017-06-19 17:58:45 +05:30
Faris Ansari
b2538bab08 Remove testcafe from travis 2017-06-06 14:28:38 +05:30
Faris Ansari
feb275b2f4 [travis] Install node v7 2017-06-01 12:39:21 +05:30
Faris Ansari
bb88f30aea Fix build js for travis (#3359)
* Fix build.js

* let to var

* Added use_strict flag

* Add new build system requirements

* Fix array includes

* Fix indexof
2017-05-22 12:44:31 +05:30
Sagar Vora
1a63f988c7 [minor] Fail travis build immediately, if python tests fail. (#3269) 2017-05-12 15:20:22 +05:30
Sagar Vora
a397a9e719 [minor] Revert dist to trusty in travis (#3233) 2017-05-06 16:19:50 +05:30
Sagar Vora
4669d068e2 [TestCafe] UI Tests for Setup Wizard and ToDo (#3188) 2017-05-01 11:28:52 +05:30
shreyas
7dc6a0b52d [Minor] Replace new installer in travis.yml 2016-08-01 17:20:01 +05:30
Rushabh Mehta
48000e6cc2 [fix] reinstall --yes to skip prompt 2016-07-24 13:29:08 +05:30
Rushabh Mehta
b6e8e01181 [enhance] web forms are now first class 2016-06-24 16:40:28 +05:30
Anand Doshi
8d9e755d55 [travis] 2016-04-14 18:12:33 +05:30
Anand Doshi
b95cfdf3dd [travis] 2016-04-14 17:39:57 +05:30
Anand Doshi
5aa816c9b6 [travis] 2016-03-23 22:27:30 +05:30
Anand Doshi
6550ba5009 [travis] 2016-03-23 22:08:36 +05:30
Anand Doshi
5c2dbeebb0 [travis] 2016-03-23 21:48:58 +05:30
Anand Doshi
8a5addaae7 [feature] Private files. Fixes #927
- Option during upload + all new incoming email files will be private
- Paired with @rmehta
2015-12-09 14:02:14 +05:30
Rushabh Mehta
9dbd96af27 [travis] use bench start & with cache 2015-08-14 15:31:58 +05:30
Anand Doshi
28115c0273 [fix] selenium tests 2015-05-28 23:06:26 -04:00
Rushabh Mehta
cc0e1f755e [travis] start test server for selenium 2015-05-07 10:27:10 +05:30
Anand Doshi
30cd96c4d7 fix travis 2015-03-25 19:30:14 +05:30
Anand Doshi
941c582fc0 fixed travis 2015-03-25 19:15:41 +05:30
Pratik Vyas
5459b021b2 use bench to run tests on travis 2015-01-01 15:18:42 +05:30
Pratik Vyas
4da75442d2 add my_config patch to travis 2014-10-12 18:54:44 +05:30
Pratik Vyas
62fc7996fb Update .travis.yml 2014-10-12 17:08:49 +05:30
Pratik Vyas
041a14a47b Update .travis.yml 2014-10-12 17:01:58 +05:30
Anand Doshi
56b5fe9393 Update .travis.yml 2014-07-30 17:23:53 +05:30
Anand Doshi
9f0c6103f2 [travis] Install wkhtmltopdf 2014-07-25 13:33:52 +05:30
Rushabh Mehta
319743d563 fix travis, build website before tests 2014-06-30 18:07:33 +05:30
Anand Doshi
e3251668e7 Fixes to Travis 2014-05-04 15:19:46 +05:30
Anand Doshi
b12dcfc7b3 Travis: start serve at port 8888 2014-05-04 15:03:37 +05:30
Anand Doshi
809b97a2d9 Fixed username and password for travis 2014-05-04 14:54:56 +05:30
Anand Doshi
d16bf63bd2 Fixed username and password for travis 2014-05-04 14:22:31 +05:30
Anand Doshi
f49ce5e7e1 Used spaces instead of tabs to fix travis 2014-05-04 14:18:02 +05:30
Rushabh Mehta
487a4fed32 started client side testing using selenium and other related and unrelated fixes 2014-04-30 19:39:35 +05:30
Anand Doshi
25249ff54b Verbose tests 2014-04-10 12:37:20 +05:30
Anand Doshi
16a36a0321 Fixed MariaDB install steps in travis 2014-03-25 18:15:41 +05:30